ci: add concurrency groups to all pr triggered workflows - #11131
Open
redzynix wants to merge 1 commit into
Open
Conversation
redzynix
force-pushed
the
redzynix-add-groups-to-all-pr-worfklows
branch
from
August 26, 2026 10:58
a6c3aaf to
1ea9851
Compare
Add concurrency groups to all pr triggered workflows.
```${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}```
In case of PR trigger the above translates to:
- ```'Zephyr-pull_request-refs/pull/{pr_number}/merge'```
In any other case it translates to:
- ```'Zephyr-workflow_dispatch-62137'```
- ```'Zephyr-push-62138'```
This allows to group and cancel only PR runs that can clog the CI and skips the dispatched or pushed workflows.
Signed-off-by: Mateusz Redzynia <mateuszx.redzynia@intel.com>
redzynix
force-pushed
the
redzynix-add-groups-to-all-pr-worfklows
branch
from
August 26, 2026 11:15
1ea9851 to
8a9eb70
Compare
PR 11131: test resultsRun date: 2026-08-26 15:06 UTC Tested commit: 8a9eb703289c73e49651b7ffb92f7d325ec59755 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is a proposition to improve CI with cancelling many concurrent runs eg.
However the manual and pushed runes will be ignored and not cancelled if run on top of each other
Add concurrency groups to all pr triggered workflows.
${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}In case of PR trigger the above translates to:
'Zephyr-pull_request-refs/pull/{pr_number}/merge'In any other case it translates to:
'Zephyr-workflow_dispatch-62137''Zephyr-push-62138'This allows to group and cancel only PR runs that can clog the CI and skips the dispatched or pushed workflows.