-
Notifications
You must be signed in to change notification settings - Fork 110
ci: add concurrency control to workflows #439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
wmmc88
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you trigger some pipelines to ensure this is working as expected?
fail-fast: false to build and test workflows
I triggered 2 workflows with the following commits:
In-progress workflows were cancelled when a new commit was pushed. New pushes cancel workflows/jobs which are in both |
There was a problem hiding this comment.
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 concurrency control to GitHub Actions workflows to improve CI efficiency by canceling in-progress jobs when new commits are pushed to the same branch, while preserving all jobs on the main branch. It also enables comprehensive testing by allowing all matrix variants to complete even when some fail.
- Added concurrency groups to cancel redundant workflow runs on feature branches
- Implemented
fail-fast: falsefor matrix strategies to ensure complete test coverage - Applied consistent formatting improvements across workflow files
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/test.yaml |
Added concurrency control and fail-fast configuration |
.github/workflows/local-development-makefile.yaml |
Added concurrency control, fail-fast configuration, and moved name declaration |
.github/workflows/lint.yaml |
Added concurrency control, fail-fast configuration, and moved name declaration |
.github/workflows/github-dependency-review.yaml |
Added concurrency control |
.github/workflows/docs.yaml |
Added concurrency control, fail-fast configuration, and moved name declaration |
.github/workflows/codeql.yaml |
Added concurrency control |
.github/workflows/code-formatting-check.yaml |
Added concurrency control |
.github/workflows/cargo-audit.yaml |
Added concurrency control |
.github/workflows/build.yaml |
Added concurrency control, fail-fast configuration, and moved name declaration |


Closes #363
fail-fast: falseto allow all jobs to complete even when some fail.