Skip to content

Commit 5255f44

Browse files
authored
Add concurrency key to publish/preview workflows (#527)
1 parent 364d361 commit 5255f44

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/preview.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- synchronize
88
- closed
99

10+
concurrency:
11+
group: docs
12+
1013
jobs:
1114
build-and-preview:
1215
if: github.event.action == 'opened' || github.event.action == 'synchronize'

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- backport-v0.*
88
workflow_dispatch: # manual trigger for testing
99

10+
concurrency:
11+
group: docs
12+
cancel-in-progress: true
13+
1014
jobs:
1115
build-and-deploy:
1216
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)