Skip to content

Commit a8456c9

Browse files
[Github] Enable new premerge workflow postcommit
This patch enables the new premerge workflow postcommit so that we can start testing it at a reasonable scale with minimal disruption.
1 parent 482237e commit a8456c9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/premerge.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ on:
77
pull_request:
88
paths:
99
- .github/workflows/premerge.yaml
10+
push:
11+
branches:
12+
- 'main'
1013

1114
jobs:
1215
premerge-checks-linux:
1316
if: github.repository_owner == 'llvm'
1417
runs-on: llvm-premerge-linux-runners
1518
concurrency:
16-
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
19+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.push.head.sha }}
1720
cancel-in-progress: true
1821
container:
1922
image: ghcr.io/llvm/ci-ubuntu-22.04:latest

0 commit comments

Comments
 (0)