Skip to content

Commit 905963f

Browse files
committed
cibuild: ensure the previous commit building progress do not be cancelled by the subsequent one in the main branch.
Signed-off-by: fangyuanhong1 <[email protected]>
1 parent fefea34 commit 905963f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build_x86_64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ env:
3535

3636
concurrency:
3737
group: ${{ github.workflow }}-${{ github.ref }}
38-
cancel-in-progress: true
38+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
3939

4040
jobs:
4141
build:

0 commit comments

Comments
 (0)