From 39f40fa07c29c7d4fae97f7ffe5be1973e23f4ab Mon Sep 17 00:00:00 2001 From: "deepin-bot[bot]" <100105596+deepin-bot[bot]@users.noreply.github.com> Date: Tue, 26 Jul 2022 05:40:50 +0000 Subject: [PATCH] chore: Sync by https://github.com/linuxdeepin/.github/commit/fed570b6d7fe6ca5b435e6d4c8ef4985299cabf7 (#24) chore: Sync by https://github.com/linuxdeepin/.github/commit/fed570b6d7fe6ca5b435e6d4c8ef4985299cabf7 --- .github/workflows/call-build-deb.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 }}