Skip to content

ci: add concurrency groups to all pr triggered workflows - #11131

Open
redzynix wants to merge 1 commit into
thesofproject:mainfrom
redzynix:redzynix-add-groups-to-all-pr-worfklows
Open

ci: add concurrency groups to all pr triggered workflows#11131
redzynix wants to merge 1 commit into
thesofproject:mainfrom
redzynix:redzynix-add-groups-to-all-pr-worfklows

Conversation

@redzynix

Copy link
Copy Markdown
Contributor

This PR is a proposition to improve CI with cancelling many concurrent runs eg.

  • Member pushes many commits one-by-one in one minute which spines as many full CI runs as commits pushed

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.

@redzynix
redzynix force-pushed the redzynix-add-groups-to-all-pr-worfklows branch from a6c3aaf to 1ea9851 Compare August 26, 2026 10:58
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
redzynix force-pushed the redzynix-add-groups-to-all-pr-worfklows branch from 1ea9851 to 8a9eb70 Compare August 26, 2026 11:15
@intel-sofci

Copy link
Copy Markdown

PR 11131: test results

Run date: 2026-08-26 15:06 UTC

Tested commit: 8a9eb703289c73e49651b7ffb92f7d325ec59755

mtl pass rate lnl pass rate ptl pass rate wcl pass rate nvl pass rate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants