diff --git a/.github/workflows/call-build-deb.yml b/.github/workflows/call-build-deb.yml index c1c10f0..fd67cbe 100644 --- a/.github/workflows/call-build-deb.yml +++ b/.github/workflows/call-build-deb.yml @@ -3,10 +3,7 @@ on: pull_request_target: paths-ignore: - ".github/workflows/**" - - pull_request: - types: - - closed + types: [ opened, closed, synchronize ] concurrency: group: ${{ github.workflow }}-pull/${{ github.event.number }} @@ -14,7 +11,7 @@ concurrency: jobs: check_job: - if: ${{ github.event_name == 'pull_request_target' || github.event.pull_request.merged }} + if: github.event.action != 'closed' || github.event.pull_request.merged uses: linuxdeepin/.github/.github/workflows/build-deb.yml@master secrets: BridgeToken: ${{ secrets.BridgeToken }}