feat(CI): limit workflow concurrency (#6332)

This commit is contained in:
Patrick Lewis
2021-06-14 02:05:48 -07:00
committed by GitHub
parent 4532ef4c7a
commit ec2d155094
4 changed files with 16 additions and 0 deletions

View File

@@ -5,6 +5,10 @@ on:
- 'master'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:

View File

@@ -6,6 +6,10 @@ on:
pull_request:
types: ['labeled']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
docker-build-n-deploy:
strategy:

View File

@@ -6,6 +6,10 @@ on:
pull_request:
types: ['labeled']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
macos-build:
strategy:

View File

@@ -6,6 +6,10 @@ on:
pull_request:
types: ['labeled']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
windows-build:
strategy: