Skip to content

Add concurrency groups to cancel superseded CI runs - #358

Open
concaf wants to merge 2 commits into
redhat-data-and-ai:mainfrom
concaf:worktree-ci-concurrency
Open

concaf wants to merge 2 commits into
redhat-data-and-ai:mainfrom
concaf:worktree-ci-concurrency

Conversation

@concaf

@concaf concaf commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds concurrency groups with cancel-in-progress: true to all 4 GitHub Actions workflows (build, test, lint, test-e2e)
  • When a new push arrives on a PR or main branch, any in-progress workflow run for the same PR/branch is automatically cancelled
  • Avoids wasted CI minutes on outdated commits

Test plan

  • Push two commits in quick succession to a PR and verify the first run is cancelled
  • Verify tag-triggered runs (e.g. v*) are not affected (they get their own concurrency group via github.ref)

When a new push arrives on a PR or main branch, any in-progress
workflow run for the same PR/branch is cancelled automatically,
avoiding wasted CI minutes on outdated commits.
@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: ab665cc9-d951-4be2-a9b8-33893837e8a9


Comment @coderabbitai help to get the list of available commands.

Avoids aborting image pushes or skipping validation on main when
two merges land in quick succession.
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.

1 participant