Skip to content

Commit 4ffc1e5

Browse files
committed
feat(ci): add concurrency control to cancel in-progress runs
1 parent 5830d28 commit 4ffc1e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ on:
2424
required: false
2525
type: string
2626

27+
concurrency:
28+
group: ${{ github.workflow }}-${{ github.ref }}
29+
cancel-in-progress: true
30+
2731
env:
2832
REGISTRY: ghcr.io
2933
IMAGE_PREFIX: ghcr.io/${{ github.repository_owner }}/devcontainers

0 commit comments

Comments
 (0)