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: 21.0.0-pre1~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d20ac0e2cb69d57fcce4344f40a07c8eb06686c7;p=thirdparty%2Fasterisk.git .github: Allow PR submit checks to be re-run by label --- 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