add concurrency limit to actions (#23)

This commit is contained in:
Bret Fisher
2023-03-25 00:40:10 -04:00
committed by GitHub
parent 5f47d38c71
commit 6944a6a18e
3 changed files with 15 additions and 0 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -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: