From: George Joseph Date: Mon, 26 Jun 2023 13:06:37 +0000 (-0600) Subject: .github: Allow PR submit checks to be re-run by label X-Git-Tag: 18.19.0-rc1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14d4bccde263901265b22b323ebbe4531b9299f7;p=thirdparty%2Fasterisk.git .github: Allow PR submit checks to be re-run by label (cherry picked from commit f747de39f4eca810a177dcef7044caf30ba11e59) --- diff --git a/.github/workflows/PROpenedOrUpdated.yml b/.github/workflows/PROpenedOrUpdated.yml index e75766a791..ad1de5ab29 100644 --- a/.github/workflows/PROpenedOrUpdated.yml +++ b/.github/workflows/PROpenedOrUpdated.yml @@ -3,7 +3,7 @@ run-name: "PR ${{github.event.number}} ${{github.event.action}} by ${{ github.ac on: # workflow_dispatch: pull_request_target: - types: [opened, reopened, synchronize] + types: [opened, reopened, synchronize, labelled] env: ASTERISK_REPO: ${{github.repository}} @@ -16,6 +16,7 @@ env: jobs: PROpenUpdateUnitTests: + if: ${{ github.event.action != 'labelled' || github.event.label.name == vars.RECHECK_LABEL }} runs-on: ubuntu-latest steps: - name: Get Token needed to add reviewers