.github: Allow PR submit checks to be re-run by label

This commit is contained in:
George Joseph
2023-06-26 07:06:37 -06:00
parent 128a9969a1
commit d20ac0e2cb

View File

@@ -3,7 +3,7 @@ run-name: "PR ${{github.event.number}} ${{github.event.action}} by ${{ github.ac
on: on:
# workflow_dispatch: # workflow_dispatch:
pull_request_target: pull_request_target:
types: [opened, reopened, synchronize] types: [opened, reopened, synchronize, labelled]
env: env:
ASTERISK_REPO: ${{github.repository}} ASTERISK_REPO: ${{github.repository}}
@@ -16,6 +16,7 @@ env:
jobs: jobs:
PROpenUpdateUnitTests: PROpenUpdateUnitTests:
if: ${{ github.event.action != 'labelled' || github.event.label.name == vars.RECHECK_LABEL }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Get Token needed to add reviewers - name: Get Token needed to add reviewers