Feature Request
Add concurrency configuration to the GitHub Actions workflows to cancel redundant builds.
Use Case
When a developer pushes multiple commits to a PR in quick succession, multiple GitHub Action workflows are triggered and run in parallel. This wastes CI resources and can delay feedback for the latest commit.
We should automatically cancel any in-progress runs for the same branch/workflow when a new commit is pushed.
Possible Solution
Add the concurrency group implementation to the build.yml workflow:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Context
Optimizing CI usage to be faster and more cost-effective.
Detailed Description
Update .github/workflows/build.yml to include the concurrency block.
Feature Request
Add concurrency configuration to the GitHub Actions workflows to cancel redundant builds.
Use Case
When a developer pushes multiple commits to a PR in quick succession, multiple GitHub Action workflows are triggered and run in parallel. This wastes CI resources and can delay feedback for the latest commit.
We should automatically cancel any in-progress runs for the same branch/workflow when a new commit is pushed.
Possible Solution
Add the
concurrencygroup implementation to thebuild.ymlworkflow:Context
Optimizing CI usage to be faster and more cost-effective.
Detailed Description
Update .github/workflows/build.yml to include the concurrency block.