Skip to content

Commit 8a77895

Browse files
authored
Merge pull request #1892 from minrk/use-concurrency
limit concurrent deployment workflows
2 parents 4579c77 + df74a1c commit 8a77895

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/cd.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77

88
name: Continuous Deployment
99

10+
# only allow one deploy workflow to be running at a time
11+
# serializes multiple outstanding deploys if PRs are merged before the last deploy finishes
12+
# ref: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency
13+
concurrency: deploy
14+
1015
# Only trigger the workflow when pushing to master or a label is applied to a
1116
# Pull Request
1217
on:

0 commit comments

Comments
 (0)