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

(cherry picked from commit f747de39f4)
This commit is contained in:
George Joseph
2023-06-26 07:06:37 -06:00
committed by Asterisk Development Team
parent f33d5c2f1e
commit 14d4bccde2

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