Made Github actions auto-cancel redundant jobs.
This commit is contained in:
parent
4468bcc657
commit
c121e32082
|
@ -12,6 +12,10 @@ on:
|
|||
- 'docs/**'
|
||||
- '.github/workflows/docs.yml'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
# OS must be the same as on djangoproject.com.
|
||||
|
|
|
@ -10,6 +10,10 @@ on:
|
|||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
flake8:
|
||||
name: flake8
|
||||
|
|
|
@ -10,6 +10,10 @@ on:
|
|||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
windows:
|
||||
runs-on: windows-latest
|
||||
|
|
Loading…
Reference in New Issue