mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-28 05:28:10 +00:00
Apparently you can't use `${{ github.event.number }}` in a concurrency
block in a job that calls a reusable workflow. :(
(cherry picked from commit d53f96b6af)
17 lines
505 B
YAML
17 lines
505 B
YAML
name: PRCPCheck
|
|
run-name: "PR ${{ github.event.number }} ${{ github.workflow }} by ${{ github.actor }}"
|
|
on:
|
|
pull_request_target:
|
|
types: [ labeled ]
|
|
|
|
jobs:
|
|
PRCPCheck:
|
|
if: ${{ github.event.label.name == vars.CHERRY_PICK_TEST_LABEL }}
|
|
# concurrency:
|
|
# group: cpcheck-${{ github.event.number }}
|
|
# cancel-in-progress: true
|
|
name: "run-cpcheck"
|
|
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskPRCPCheck.yml@main
|
|
secrets:
|
|
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|