Skip to content

Commit 3e8e9e8

Browse files
committed
Cancel builds upon a new push
Signed-off-by: Stephen Finucane <[email protected]>
1 parent 1120818 commit 3e8e9e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish-image.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Publish container image
33
on:
44
push:
55
pull_request:
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
8+
cancel-in-progress: true
69
jobs:
710
push_to_registry:
811
name: Push container image to GitHub Container Registry

0 commit comments

Comments
 (0)