Skip to content

ci: add concurrency control to workflows - #1091

Merged
mttrbrts merged 1 commit into
accordproject:mainfrom
Shubh-Raj:shubhraj/ci-improvements/concurrency-control
Jan 6, 2026
Merged

mttrbrts merged 1 commit into
accordproject:mainfrom
Shubh-Raj:shubhraj/ci-improvements/concurrency-control

Conversation

@Shubh-Raj

Copy link
Copy Markdown
Contributor

This reduces wasted CI minutes and prevents race conditions when multiple commits are pushed rapidly.

Closes #1090

Changes

  • Add concurrency groups to build.yml, conformance-test.yml, codeql-analysis.yml
  • Cancel in-progress runs when new commits are pushed to the same branch
  • CodeQL only cancels PR runs (preserves scheduled security scans on main)

Flags

  • Pre-existing Test Failure: verified that concerto-linter unit tests fail on the main branch as well; this PR does not introduce new failures.

Screenshots or Video

N/A

Related Issues

Author Checklist

  • Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
  • Vital features and changes captured in unit and/or integration tests
  • Commits messages follow AP format
  • Extend the documentation, if necessary
  • Merging to main from fork:branchname

- Add concurrency groups to build.yml, conformance-test.yml, codeql-analysis.yml
- Cancel in-progress runs when new commits are pushed to the same branch
- CodeQL only cancels PR runs (preserves scheduled security scans)

This reduces wasted CI minutes and prevents race conditions in
coverage uploads when multiple commits are pushed rapidly.

Signed-off-by: Shubh-Raj <shubhraj625@gmail.com>
@mttrbrts
mttrbrts merged commit aaa5b02 into accordproject:main Jan 6, 2026
13 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.

ci: Add concurrency control to workflows

2 participants