mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
CI: cancel previous workflow runs when new commit is pushed
This commit is contained in:
parent
15b0c052b6
commit
61755ada9b
2 changed files with 11 additions and 0 deletions
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
|
|
@ -4,6 +4,12 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
concurrency:
|
||||
# Cancel previous workflow run when a new commit is pushed to a feature branch
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
|
||||
|
||||
env:
|
||||
PY_COLORS: 1
|
||||
|
||||
|
|
|
|||
5
.github/workflows/lint.yml
vendored
5
.github/workflows/lint.yml
vendored
|
|
@ -6,6 +6,11 @@ on:
|
|||
branches:
|
||||
- master
|
||||
|
||||
concurrency:
|
||||
# Cancel previous workflow run when a new commit is pushed to a feature branch
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: 3.9
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue