Skip to content

Commit 4290566

Browse files
committed
ci: trigger on main and cancel superseded runs
Nine jobs a run at several hours each; a superseded run is not worth finishing. Tags are excluded from cancellation so a release is never interrupted mid-flight.
1 parent b2e1e03 commit 4290566

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/build-matrix.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Build V8 matrix
55
on:
66
workflow_dispatch:
77
push:
8-
branches: [feat/full-matrix]
8+
branches: [main]
99
tags: ['v8-*']
1010
pull_request:
1111
paths:
@@ -17,6 +17,12 @@ on:
1717
permissions:
1818
contents: write
1919

20+
# Nine jobs a run, several hours each -- superseded runs are not worth finishing.
21+
# Tags are excluded from cancellation so a release is never interrupted.
22+
concurrency:
23+
group: ${{ github.workflow }}-${{ github.ref }}
24+
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/tags/') }}
25+
2026
jobs:
2127
config:
2228
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)