ci: add concurrency cancellation across GitHub workflows - #2775
Open
lengau wants to merge 3 commits into
Open
Conversation
Add top-level concurrency groups across GitHub workflows so superseded runs are cancelled in progress instead of continuing. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
lengau
marked this pull request as ready for review
July 11, 2026 01:21
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds top-level GitHub Actions workflow concurrency settings to cancel in-progress runs for the same workflow/ref, reducing redundant CI executions and conserving runner capacity.
Changes:
- Added
concurrency.group: ${{ github.workflow }}-${{ github.ref }}to multiple workflows. - Enabled
cancel-in-progress: trueso newer runs supersede older runs for the same group.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/tics.yaml | Adds workflow-level concurrency cancellation keyed by workflow+ref. |
| .github/workflows/tests.yaml | Adds workflow-level concurrency cancellation keyed by workflow+ref. |
| .github/workflows/spread.yaml | Adds workflow-level concurrency cancellation keyed by workflow+ref. |
| .github/workflows/spread-docs.yaml | Adds workflow-level concurrency cancellation keyed by workflow+ref. |
| .github/workflows/schema.yaml | Adds workflow-level concurrency cancellation keyed by workflow+ref. |
| .github/workflows/release-publish.yaml | Adds workflow-level concurrency cancellation keyed by workflow+ref (publishing workflow). |
| .github/workflows/qa.yaml | Adds workflow-level concurrency cancellation keyed by workflow+ref. |
| .github/workflows/policy.yaml | Adds workflow-level concurrency cancellation keyed by workflow+ref. |
| .github/workflows/copilot-collections-update.yaml | Adds workflow-level concurrency cancellation keyed by workflow+ref. |
| .github/workflows/check-renovate.yaml | Adds workflow-level concurrency cancellation keyed by workflow+ref. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Alex Lowe <alex.lowe@canonical.com>
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.
Add top-level workflow concurrency groups with cancel-in-progress set to true across workflows that were missing it.