Skip to content

Commit 04e3b5a

Browse files
committed
build.yaml trigger on both branch and PR. Fix this with cancelling the second triggered action.
1 parent c962ee1 commit 04e3b5a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches: ["**"]
66
pull_request:
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.event.pull_request.head.ref || github.ref_name }}
10+
cancel-in-progress: true
11+
812
jobs:
913
build:
1014
name: Build ${{ matrix.service }}

0 commit comments

Comments
 (0)