mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-09 03:45:27 +00:00
.github: Change concurrency group ids so they're unique.
GitHub strikes again. Apparently the github.ref context variable only
contains the PR number if the workflow is triggered by "pull_request" so
since we just changed the trigger to "pull_request_target" the variable
no longer contains the PR number and is therefore not unique and can't be
used as a concurrency group id. We now use
`github.triggering_actor-github.head_ref`.
(cherry picked from commit 32b0b47348)
This commit is contained in:
committed by
Asterisk Development Team
parent
d73e139013
commit
19683b6027
2
.github/workflows/OnPRCPCheck.yml
vendored
2
.github/workflows/OnPRCPCheck.yml
vendored
@@ -9,6 +9,6 @@ jobs:
|
||||
name: "run-cpcheck"
|
||||
if: ${{ github.event.label.name == vars.CHERRY_PICK_TEST_LABEL }}
|
||||
concurrency:
|
||||
group: cpcheck-${{ github.base_ref }}-${{ github.ref_name }}
|
||||
group: cpcheck-${{ github.triggering_actor }}-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskPRCPCheck.yml@main
|
||||
|
||||
Reference in New Issue
Block a user