CI: Fix unlabeling closed PRs canceling unrelated jobs

This commit is contained in:
Geza Lore
2026-09-20 20:08:41 +01:00
parent e71f6f3b7a
commit 2ee6f7435d
3 changed files with 15 additions and 3 deletions
+5 -1
View File
@@ -27,8 +27,12 @@ concurrency:
# run, and any other label change has no effect. Note such an event still
# creates a run of this workflow, which is skipped, and would then hide the
# one in progress on the pull request. 'pr-run-cleanup.yml' deletes those.
# Key pull request runs on the number: 'github.ref' is the base branch once
# the pull request is closed, so unlabel events would cancel base runs.
group: >-
${{ github.workflow }}-${{ github.ref }}-${{
${{ github.workflow }}-${{
github.event_name == 'pull_request'
&& format('pr-{0}', github.event.number) || github.ref }}-${{
(github.event.action == 'labeled' || github.event.action == 'unlabeled')
&& github.event.label.name != 'pr: dev-coverage'
&& github.run_id || 'shared' }}
+5 -1
View File
@@ -30,8 +30,12 @@ concurrency:
# run, and any other label change has no effect. Note such an event still
# creates a run of this workflow, which is skipped, and would then hide the
# one in progress on the pull request. 'pr-run-cleanup.yml' deletes those.
# Key pull request runs on the number: 'github.ref' is the base branch once
# the pull request is closed, so unlabel events would cancel base runs.
group: >-
${{ github.workflow }}-${{ github.ref }}-${{
${{ github.workflow }}-${{
github.event_name == 'pull_request'
&& format('pr-{0}', github.event.number) || github.ref }}-${{
(github.event.action == 'labeled' || github.event.action == 'unlabeled')
&& github.event.label.name != 'pr: regression'
&& github.run_id || 'shared' }}
+5 -1
View File
@@ -29,8 +29,12 @@ concurrency:
# run, and any other label change has no effect. Note such an event still
# creates a run of this workflow, which is skipped, and would then hide the
# one in progress on the pull request. 'pr-run-cleanup.yml' deletes those.
# Key pull request runs on the number: 'github.ref' is the base branch once
# the pull request is closed, so unlabel events would cancel base runs.
group: >-
${{ github.workflow }}-${{ github.ref }}-${{
${{ github.workflow }}-${{
github.event_name == 'pull_request'
&& format('pr-{0}', github.event.number) || github.ref }}-${{
(github.event.action == 'labeled' || github.event.action == 'unlabeled')
&& github.event.label.name != 'pr: rtlmeter'
&& github.run_id || 'shared' }}