File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ name: Build pull request
33on :
44 pull_request :
55 types :
6- - labeled
76 - opened
87 - synchronize
98 - reopened
9+ # called from rebuild-pull-request-on-label.yml
10+ workflow_call :
1011
1112concurrency :
1213 group : ${{ github.workflow }}-${{ github.event.pull_request.number }}
Original file line number Diff line number Diff line change 1+ name : Build on test labels
2+
3+ on :
4+ pull_request :
5+ types :
6+ - labeled
7+ - unlabeled
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ trigger-build :
14+ # Only run if one of the test labels was added
15+ if : |
16+ github.event.label.name == 'test openj9' ||
17+ github.event.label.name == 'test windows' ||
18+ github.event.label.name == 'test native'
19+ uses : ./.github/workflows/build-pull-request.yml
You can’t perform that action at this time.
0 commit comments