Skip to content

Commit

Permalink
Auto-cancel concurrent runs
Browse files Browse the repository at this point in the history
Signed-off-by: simonmicro <simon@simonmicro.de>
  • Loading branch information
simonmicro committed May 19, 2024
1 parent ac4163e commit 5d4a1a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test-EMULATOR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ jobs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5.2.0
uses: fkirc/skip-duplicate-actions@v5.3.1
with:
cancel_others: "true" # in a PR with two runs (puch+merge), the latter will cancel the first and run instead
concurrent_skipping: "same_content_newer"
skip_after_successful_duplicate: "true"

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-FEATURE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ jobs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5.2.0
uses: fkirc/skip-duplicate-actions@v5.3.1
with:
cancel_others: "true" # in a PR with two runs (puch+merge), the latter will cancel the first and run instead
concurrent_skipping: "same_content_newer"
skip_after_successful_duplicate: "true"

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-OSW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5.2.0
uses: fkirc/skip-duplicate-actions@v5.3.1
with:
cancel_others: "true" # in a PR with two runs (puch+merge), the latter will cancel the first and run instead
concurrent_skipping: "same_content_newer"
skip_after_successful_duplicate: "true"

Expand Down

0 comments on commit 5d4a1a3

Please sign in to comment.