Skip to content

Commit 6f38bf6

Browse files
authored
Improve cancel action (#295)
1 parent ad95cd0 commit 6f38bf6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/Cancel.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@ jobs:
1515
steps:
1616
- uses: styfle/[email protected]
1717
with:
18+
# cancel itself and all later-scheduled workflows, leaving only the latest
19+
# helps if the pipeline is saturated
20+
all_but_latest: true
1821
workflow_id: ${{ github.event.workflow.id }}

0 commit comments

Comments
 (0)