Skip to content

Commit a032c9f

Browse files
committed
dockerhub: allow only one workflow to run at a time.
1 parent 8b49fb7 commit a032c9f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/dockerhub.yml

+6
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ on:
1313
schedule:
1414
- cron: "43 2 * * 1"
1515

16+
# allow only one workflow to run at a time
17+
# and cancel in-progress jobs if a new one is triggered
18+
concurrency:
19+
group: "dockerhub"
20+
cancel-in-progress: true
21+
1622
env:
1723
DOCKER_IMAGE: m1k1o/neko
1824

0 commit comments

Comments
 (0)