Skip to content

Commit 408c6d9

Browse files
committed
cancel old workflows
1 parent f44d290 commit 408c6d9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/generate_website.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ permissions:
2323
actions: write
2424
contents: write
2525

26+
# Cancel existing tests on the same PR if a new commit is added to a pull request
27+
concurrency:
28+
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
29+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
30+
2631
jobs:
2732
setup-keys:
2833
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)