diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f2d4a8de373..ae83861354b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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. diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index df76b3f71b2..0cabb459348 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -10,6 +10,10 @@ on: paths-ignore: - 'docs/**' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: flake8: name: flake8 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 93140c01294..3798b7dbe18 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,6 +10,10 @@ on: paths-ignore: - 'docs/**' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: windows: runs-on: windows-latest