File tree Expand file tree Collapse file tree 3 files changed +33
-19
lines changed Expand file tree Collapse file tree 3 files changed +33
-19
lines changed Original file line number Diff line number Diff line change 1
1
name : YJIT macOS Arm64
2
2
on :
3
3
push :
4
+ branches :
5
+ - master
4
6
paths-ignore :
5
7
- ' doc/**'
6
8
- ' **/man/*'
9
11
- ' **/.document'
10
12
- ' .*.yml'
11
13
pull_request :
14
+ types :
15
+ - opened
16
+ - synchronize
17
+ - reopened
12
18
# Do not use paths-ignore for required status checks
13
19
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks
14
20
merge_group :
15
21
16
- concurrency :
17
- group : ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
18
- cancel-in-progress : ${{ startsWith(github.event_name, 'pull') }}
19
-
20
22
permissions :
21
23
contents : read
22
24
@@ -162,7 +164,8 @@ jobs:
162
164
runs-on : macos-14
163
165
needs : [make]
164
166
steps :
165
- - run : exit 1
167
+ - name : ${{ github.workflow }} jobs have failed
168
+ run : exit 1
166
169
working-directory :
167
170
if : ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
168
171
Original file line number Diff line number Diff line change @@ -102,11 +102,15 @@ jobs:
102
102
BTESTS : ${{ matrix.btests }}
103
103
continue-on-error : ${{ matrix.continue-on-test_task || false }}
104
104
105
- - uses : ./.github/actions/slack
106
- with :
107
- label : ${{ matrix.test_task }} ${{ matrix.configure }} ${{ matrix.zjit_opts }}
108
- SLACK_WEBHOOK_URL : ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
109
- if : ${{ failure() }}
105
+ result :
106
+ if : ${{ always() }}
107
+ name : ${{ github.workflow }} result
108
+ runs-on : macos-14
109
+ needs : [make]
110
+ steps :
111
+ - run : exit 1
112
+ working-directory :
113
+ if : ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
110
114
111
115
defaults :
112
116
run :
Original file line number Diff line number Diff line change 1
1
name : ZJIT Ubuntu
2
2
on :
3
3
push :
4
+ branches :
5
+ - master
4
6
paths-ignore :
5
7
- ' doc/**'
6
8
- ' **/man/*'
9
11
- ' **/.document'
10
12
- ' .*.yml'
11
13
pull_request :
14
+ types :
15
+ - opened
16
+ - synchronize
17
+ - reopened
12
18
# Do not use paths-ignore for required status checks
13
19
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks
14
20
merge_group :
15
21
16
- concurrency :
17
- group : ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
18
- cancel-in-progress : ${{ startsWith(github.event_name, 'pull') }}
19
-
20
22
permissions :
21
23
contents : read
22
24
@@ -128,11 +130,16 @@ jobs:
128
130
BTESTS : ${{ matrix.btests }}
129
131
continue-on-error : ${{ matrix.continue-on-test_task || false }}
130
132
131
- - uses : ./.github/actions/slack
132
- with :
133
- label : ${{ matrix.test_task }} ${{ matrix.configure }}
134
- SLACK_WEBHOOK_URL : ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
135
- if : ${{ failure() }}
133
+ result :
134
+ if : ${{ always() }}
135
+ name : ${{ github.workflow }} result
136
+ runs-on : ubuntu-22.04
137
+ needs : [make]
138
+ steps :
139
+ - name : ${{ github.workflow }} jobs have failed
140
+ run : exit 1
141
+ working-directory :
142
+ if : ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
136
143
137
144
defaults :
138
145
run :
You can’t perform that action at this time.
0 commit comments