Merged
Conversation
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds concurrency controls to 12 GitHub Actions workflow files to prevent multiple runs of the same workflow on the same branch/ref from executing simultaneously.
- Adds concurrency groups using
${{ github.workflow }}-${{ github.ref }}pattern to most workflows - Sets
cancel-in-progress: truefor CI/validation workflows to save resources - Sets
cancel-in-progress: falsefor release and stale workflows to ensure completion
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/zizmor.yml |
Adds concurrency control with auto-cancellation |
.github/workflows/update-docs.yml |
Adds concurrency control with auto-cancellation |
.github/workflows/terraform.yml |
Adds concurrency control with auto-cancellation |
.github/workflows/stale.yml |
Adds concurrency control without auto-cancellation; uses workflow-only group |
.github/workflows/semantic-check.yml |
Adds concurrency control with auto-cancellation |
.github/workflows/release.yml |
Adds concurrency control without auto-cancellation |
.github/workflows/packer-build.yml |
Adds concurrency control with auto-cancellation |
.github/workflows/ovs.yml |
Adds concurrency control with auto-cancellation |
.github/workflows/ossf-scorecard.yml |
Adds concurrency control with auto-cancellation |
.github/workflows/lambda.yml |
Adds concurrency control with auto-cancellation |
.github/workflows/dependency-review.yml |
Adds concurrency control with auto-cancellation |
.github/workflows/codeql.yml |
Adds concurrency control with auto-cancellation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 13 out of 13 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
rjaegers
approved these changes
Nov 3, 2025
LudovicTOURMAN
pushed a commit
to doctolib-lab/terraform-aws-github-runner
that referenced
this pull request
Apr 7, 2026
This pull request updates several GitHub Actions workflow files to add concurrency controls. The main goal is to prevent multiple runs of the same workflow from executing simultaneously on the same branch or ref, which helps reduce unnecessary resource usage and ensures that only the latest workflow run is active. Most workflows now use a concurrency group based on the workflow name and branch/ref, with `cancel-in-progress` set to `true` so that in-progress runs are canceled when a new run is triggered. Two workflows (`release.yml` and `stale.yml`) use a different concurrency configuration. Concurrency configuration added to workflows: **General concurrency improvements** * Added `concurrency` blocks to `.github/workflows/codeql.yml`, `.github/workflows/dependency-review.yml`, `.github/workflows/lambda.yml`, `.github/workflows/ossf-scorecard.yml`, `.github/workflows/ovs.yml`, `.github/workflows/packer-build.yml`, `.github/workflows/semantic-check.yml`, `.github/workflows/terraform.yml`, `.github/workflows/update-docs.yml`, and `.github/workflows/zizmor.yml` to group runs by workflow name and branch/ref and cancel in-progress runs (`cancel-in-progress: true`). [[1]](diffhunk://#diff-12783128521e452af0cfac94b99b8d250413c516ec71fe6d97dbea666ff7ba27R13-R16) [[2]](diffhunk://#diff-7cdd3ccec44c8ba176bdc3b9ef54c3f56aa210a1a4e2bb5f79d87b1e50314a18R12-R15) [[3]](diffhunk://#diff-b0732b88b9e5a3df48561602571a10179d2b28cbb21ba8032025932bc9606426R11-R14) [[4]](diffhunk://#diff-0f32dffa00fbb4b53f979f3524fd4f69451050cda001ae563ed49e27e702da7bR10-R13) [[5]](diffhunk://#diff-0efa76244190040e37ac26bd58a2e1c1155c0de92da9ddf72276d5354c5c0bf8R8-R11) [[6]](diffhunk://#diff-7d0fae1f42bb015ceff53b783c22a632e3c0aa2a62f4bf6cf3b71cf5c8d8cda1R11-R15) [[7]](diffhunk://#diff-9d577d2550fe414a048906bc0af8ff9188d21f432e41be311e49b3a910fe9ac4R8-R12) [[8]](diffhunk://#diff-10eac00f40a120814e0c56ca5bf5a61c8b335acbdeb977b72207606aa3daea4dR9-R12) [[9]](diffhunk://#diff-6cb924cb587613a1d83384b44ca0c806ccf512202b3f29f529fc6825cef21de2R9-R12) [[10]](diffhunk://#diff-8e6408444d2bf2bed6f02c5dc62a7f1f6ab7337eae098d332986e6a81411aeb7R13-R16) **Special concurrency configuration** * For `.github/workflows/release.yml`, added a concurrency group by workflow name and branch/ref, but set `cancel-in-progress: false` to allow multiple runs to proceed. * For `.github/workflows/stale.yml`, added a concurrency group by workflow name only, with `cancel-in-progress: false`. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates several GitHub Actions workflow files to add concurrency controls. The main goal is to prevent multiple runs of the same workflow from executing simultaneously on the same branch or ref, which helps reduce unnecessary resource usage and ensures that only the latest workflow run is active. Most workflows now use a concurrency group based on the workflow name and branch/ref, with
cancel-in-progressset totrueso that in-progress runs are canceled when a new run is triggered. Two workflows (release.ymlandstale.yml) use a different concurrency configuration.Concurrency configuration added to workflows:
General concurrency improvements
concurrencyblocks to.github/workflows/codeql.yml,.github/workflows/dependency-review.yml,.github/workflows/lambda.yml,.github/workflows/ossf-scorecard.yml,.github/workflows/ovs.yml,.github/workflows/packer-build.yml,.github/workflows/semantic-check.yml,.github/workflows/terraform.yml,.github/workflows/update-docs.yml, and.github/workflows/zizmor.ymlto group runs by workflow name and branch/ref and cancel in-progress runs (cancel-in-progress: true). [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Special concurrency configuration
.github/workflows/release.yml, added a concurrency group by workflow name and branch/ref, but setcancel-in-progress: falseto allow multiple runs to proceed..github/workflows/stale.yml, added a concurrency group by workflow name only, withcancel-in-progress: false.