Skip to content

Commit fa2d428

Browse files
committed
Autocancel repeated CI runs
This will ensure that any specific pull request (or commit) only has a single CI run happening at any point in time.
1 parent 8ef91cf commit fa2d428

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
schedule:
1212
- cron: 0 0 * * MON # Run every Monday at 00:00 UTC
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
16+
cancel-in-progress: true
17+
1418
jobs:
1519
docs:
1620
name: docs

0 commit comments

Comments
 (0)