Skip to content

Commit fe04c34

Browse files
committed
Update cancel behavior of CI
Only for current workflow, and do not continue on error
1 parent 3fc96a2 commit fe04c34

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ defaults:
77
on: [push, pull_request]
88

99
concurrency:
10-
group: ${{ github.head_ref || github.run_id }}
10+
group: ${{ github.workflow }}-${{ github.ref }}
1111
cancel-in-progress: true
1212

1313
jobs:
1414
build-framework:
1515
runs-on: self-hosted
16-
continue-on-error: true
1716
strategy:
1817
matrix:
1918
destination: [

.github/workflows/test.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ defaults:
77
on: [push, pull_request]
88

99
concurrency:
10-
group: ${{ github.head_ref || github.run_id }}
10+
group: ${{ github.workflow }}-${{ github.ref }}
1111
cancel-in-progress: true
1212

1313
jobs:
1414
run-tests:
1515
runs-on: self-hosted
16-
continue-on-error: true
1716
strategy:
1817
matrix:
1918
destination: [

0 commit comments

Comments
 (0)