fix(CI): limit concurrency group to PR's (#6419)

This commit is contained in:
Patrick Lewis
2021-06-19 05:10:43 -07:00
committed by GitHub
parent f685fb10c2
commit fc10f1a72d
5 changed files with 8 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:

View File

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

View File

@@ -7,7 +7,7 @@ on:
types: ['labeled']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:

View File

@@ -7,7 +7,7 @@ on:
types: ['labeled']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:

View File

@@ -7,7 +7,7 @@ on:
types: ['labeled']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs: