Cancel in progress Github runners on subsequent push#6025
Open
cwperks wants to merge 2 commits intoopensearch-project:mainfrom
Open
Cancel in progress Github runners on subsequent push#6025cwperks wants to merge 2 commits intoopensearch-project:mainfrom
cwperks wants to merge 2 commits intoopensearch-project:mainfrom
Conversation
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6025 +/- ##
==========================================
+ Coverage 73.82% 73.86% +0.04%
==========================================
Files 439 440 +1
Lines 27122 27229 +107
Branches 4025 4044 +19
==========================================
+ Hits 20024 20114 +90
- Misses 5192 5205 +13
- Partials 1906 1910 +4 🚀 New features to boost your workflow:
|
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.
Description
This PR will cancel any in progress runners if a contributor pushes another commit. This helps particularly in cases where a contributor pushes a CHANGELOG entry after opening a PR when the PR number is known. It helps to conserve runners since there are only a limited number in a pool.
Maintenance
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.