diff --git a/.github/workflows/call-local-docker-build.yaml b/.github/workflows/call-local-docker-build.yaml index f2f34d7..b8bb82b 100644 --- a/.github/workflows/call-local-docker-build.yaml +++ b/.github/workflows/call-local-docker-build.yaml @@ -16,6 +16,11 @@ on: - 'README.md' - '.github/linters/**' +# cancel any previously-started, yet still active runs of this workflow on the same branch +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: call-docker-build: diff --git a/.github/workflows/call-super-linter.yaml b/.github/workflows/call-super-linter.yaml index e67bb88..bd3a20a 100644 --- a/.github/workflows/call-super-linter.yaml +++ b/.github/workflows/call-super-linter.yaml @@ -9,6 +9,11 @@ on: pull_request: +# cancel any previously-started, yet still active runs of this workflow on the same branch +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: call-super-linter: diff --git a/templates/call-docker-build.yaml b/templates/call-docker-build.yaml index c5ab733..e042ec3 100644 --- a/templates/call-docker-build.yaml +++ b/templates/call-docker-build.yaml @@ -16,6 +16,11 @@ on: - 'README.md' - '.github/linters/**' +# cancel any previously-started, yet still active runs of this workflow on the same branch +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: call-docker-build: