Skip to content

ci: collapse superseded runs with a per-ref concurrency group - #131

Merged
ErikBjare merged 1 commit into
masterfrom
ci/concurrency-group
Oct 10, 2026
Merged

ErikBjare merged 1 commit into
masterfrom
ci/concurrency-group

Conversation

@ErikBjare

Copy link
Copy Markdown
Member

Mirrors ActivityWatch/aw-server-rust#804: adds a per-workflow, per-ref concurrency group to build.yml, codeql.yml, examples.yml, lint.yml.

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: ${{ github.event_name == 'pull_request' }}

On PRs, a new push cancels the superseded run. On master, a running build always finishes, and only queued runs collapse to the newest commit, so a merge burst doesn't queue a full build per commit while master still gets regular per-commit results.

Release workflows are deliberately untouched (there are none in this repo).

@ErikBjare

Copy link
Copy Markdown
Member Author

@greptileai review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-10T16:12:17.797942Z 28a08ff PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@greptile-apps

greptile-apps Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[High impact] The PR appears safe to merge.

Summary

Adds separate concurrency groups for each workflow and ref across all four CI workflows.

  • Build, CodeQL, Examples, and Lint replace superseded runs per ref.

No actionable issues were found.

Reviews (1) · Last reviewed commit: "ci: collapse superseded runs with a per-..." · Reviewed by Greptile

@ErikBjare
ErikBjare merged commit 6d6a30d into master Oct 10, 2026
7 checks passed
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