Skip to content

Commit

Permalink
Make the CI not trample itself
Browse files Browse the repository at this point in the history
This does not cancel older runs on the master branch.

Co-authored-by: Kyle Altendorf <[email protected]>
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
  • Loading branch information
3 people authored May 26, 2023
1 parent ef06fba commit 93bb27b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- "dependabot/**"
pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && format('-{0}', github.sha) || '' }}
cancel-in-progress: true

jobs:
Windows:
name: 'Windows (${{ matrix.python }}, ${{ matrix.arch }}${{ matrix.extra_name }})'
Expand Down

0 comments on commit 93bb27b

Please sign in to comment.