Skip to content

Commit

Permalink
ci: auto-cancel redundant build/test jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmmacleod committed Sep 5, 2024
1 parent e98fca9 commit a1c7fb0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
conda:
name: Python ${{ matrix.python-version }} (${{ matrix.os }})
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
- main
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
tarball:
name: Tarball
Expand Down

0 comments on commit a1c7fb0

Please sign in to comment.