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

(cherry picked from commit 426b9c568c)
This commit is contained in:
George Joseph
2023-06-26 07:06:37 -06:00
committed by Asterisk Development Team
parent f7f2872b3f
commit fdfe61bf4d

View File

@@ -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