-
Notifications
You must be signed in to change notification settings - Fork 104
56 lines (50 loc) · 1.71 KB
/
label.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Label
on:
pull_request:
branches: [master]
types: [labeled]
jobs:
dispatch:
runs-on: ubuntu-latest
if: >-
github.event.label.name == 'A0-pleasereview'
|| github.event.label.name == 'A4-insubstantial'
|| github.event.label.name == 'A2-mergeoncegreen'
|| github.event.label.name == 'E1-forcenatwin'
|| github.event.label.name == 'E2-forcemacos'
steps:
- uses: actions/checkout@v4
- name: Fork Linux checks
if: >-
github.event.label.name == 'A0-pleasereview'
|| github.event.label.name == 'A4-insubstantial'
|| github.event.label.name == 'A2-mergeoncegreen'
uses: gear-tech/fork-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
workflow_id: ".github/workflows/build.yml"
prefix: "build"
jobs: '["linux", "win-cross"]'
useMulti: true
inputs: '{
"title": "${{ github.event.pull_request.title }}",
"number": "${{ github.event.number }}"
}'
- name: Fork OSX checks
if: github.event.label.name == 'E2-forcemacos'
uses: gear-tech/fork-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
workflow_id: ".github/workflows/build-macos.yml"
prefix: "build"
jobs: '[ "macos-x86", "macos-aarch64" ]'
useProfiles: true
- name: Fork Win checks
if: github.event.label.name == 'E1-forcenatwin'
uses: gear-tech/fork-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
workflow_id: ".github/workflows/build-win-native.yml"
prefix: "build"
jobs: '[ "win-native" ]'
useProfiles: true