Merge pull request #9169 from cmpadden/gh-workflow-cancel-prior-runs

Cancel in-progress GitHub workflow run on a subsequent pull-request pushes
This commit is contained in:
Patrik Oldsberg
2022-01-26 19:46:18 +01:00
committed by GitHub
4 changed files with 17 additions and 0 deletions
+5
View File
@@ -4,6 +4,11 @@ on:
pull_request:
paths-ignore:
- 'microsite/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
runs-on: ubuntu-latest
+4
View File
@@ -8,6 +8,10 @@ on:
- 'docs/**'
- 'microsite/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
@@ -8,6 +8,10 @@ on:
- 'docs/**'
- 'microsite/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
runs-on: ubuntu-latest
+4
View File
@@ -10,6 +10,10 @@ on:
- 'packages/e2e-test/**'
- 'packages/create-app/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}