-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GHA for automatically canceling previous CI runs (#5025)
- Loading branch information
1 parent
c7c4aae
commit 061bc8e
Showing
4 changed files
with
14 additions
and
24 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Cancel | ||
on: | ||
workflow_run: | ||
workflows: ["CI", "CI Additional", "CI Upstream"] | ||
types: | ||
- requested | ||
jobs: | ||
cancel: | ||
name: Cancel previous runs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: styfle/cancel-workflow-action@0.8.0 | ||
with: | ||
workflow_id: ${{ github.event.workflow.id }} |
This file contains 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
This file contains 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
This file contains 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