From d11b521df10d45cc7e861b5ad3a5bfe960276e5b Mon Sep 17 00:00:00 2001 From: "deepin-bot[bot]" <100105596+deepin-bot[bot]@users.noreply.github.com> Date: Thu, 21 Jul 2022 09:56:11 +0000 Subject: [PATCH] chore: Sync by (#23) chore: Sync by --- .github/workflows/call-build-deb.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/call-build-deb.yml b/.github/workflows/call-build-deb.yml index c0b94f4..c1c10f0 100644 --- a/.github/workflows/call-build-deb.yml +++ b/.github/workflows/call-build-deb.yml @@ -4,12 +4,17 @@ on: paths-ignore: - ".github/workflows/**" + pull_request: + types: + - closed + concurrency: group: ${{ github.workflow }}-pull/${{ github.event.number }} cancel-in-progress: true jobs: check_job: + if: ${{ github.event_name == 'pull_request_target' || github.event.pull_request.merged }} uses: linuxdeepin/.github/.github/workflows/build-deb.yml@master secrets: BridgeToken: ${{ secrets.BridgeToken }}