ci: add concurrency control to workflows#439
Conversation
wmmc88
left a comment
There was a problem hiding this comment.
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.
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.