Skip to content

Commit fa572e2

Browse files
authored
Merge pull request #352 from swisstopo/feature/only-allow-one-concurrent-pipeline-run
Only allow one concurrent pipeline run for different publish pipelines
2 parents c2b50b7 + 2e29659 commit fa572e2

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/publish-edge.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919
description: "Tag the commit and published image with `edge`."
2020
default: true
2121

22+
concurrency:
23+
group: "publish-edge"
24+
2225
permissions: write-all
2326

2427
env:

.github/workflows/publish-rc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
required: false
1616
default: "edge"
1717

18+
concurrency:
19+
group: "publish-rc"
20+
1821
permissions: write-all
1922

2023
env:

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ on:
2121
Assign the `release-candidate` tag to this release.
2222
default: true
2323

24+
concurrency:
25+
group: "release"
26+
2427
permissions: write-all
2528

2629
env:

0 commit comments

Comments
 (0)