Skip to content

ci: add concurrency cancellation across GitHub workflows - #2775

Open
lengau wants to merge 3 commits into
mainfrom
work/worflow-concurrency
Open

ci: add concurrency cancellation across GitHub workflows#2775
lengau wants to merge 3 commits into
mainfrom
work/worflow-concurrency

Conversation

@lengau

@lengau lengau commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Add top-level workflow concurrency groups with cancel-in-progress set to true across workflows that were missing it.

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>
Copilot AI review requested due to automatic review settings July 11, 2026 01:20
@lengau lengau changed the title Add concurrency cancellation across GitHub workflows ci: add concurrency cancellation across GitHub workflows Jul 11, 2026
@lengau
lengau marked this pull request as ready for review July 11, 2026 01:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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: true so 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.

Comment thread .github/workflows/release-publish.yaml Outdated
lengau and others added 2 commits July 10, 2026 21:27
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Alex Lowe <alex.lowe@canonical.com>
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