ci: add concurrency groups to all workflow files - #564
Open
ayomidemariam wants to merge 1 commit into
Open
Conversation
Add concurrency: group: ${{ github.workflow }}-${{ github.ref }} with
cancel-in-progress: true to all 9 GitHub Actions workflow files to
prevent redundant runs when new commits are pushed to the same branch.
Closes WHEELBACK#489
Closes WHEELBACK#488
Closes WHEELBACK#487
Closes WHEELBACK#486
|
@ayomidemariam Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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.
Summary
Adds
concurrencygroups to all 9 GitHub Actions workflow files to prevent redundant CI runs when new commits are pushed to the same branch or pull request.Changes
Each workflow file now includes:
This was added to:
backend-tests.ymlci-abi-metadata.ymlci-abi-snapshots.ymlci-contracts.ymlci-coverage.ymlci-error-docs.ymlci-post-deploy-verify.ymlci.ymllint-docs.ymlWhy
Without concurrency groups, pushing multiple commits to a branch in quick succession triggers a separate CI run for every push. The
cancel-in-progress: truesetting ensures that only the latest run for a given workflow+ref combination is kept active, saving compute resources and reducing queue time.Closes #489
Closes #488
Closes #487
Closes #486