forked from Wandalen/wTools
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 994 Bytes
/
standard_rust_status.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
name : rust_status
on:
workflow_run:
workflows: [ auto_merge_to_beta, rust_scheduled ]
types:
- completed
concurrency :
group : standard_rust_status
cancel-in-progress : true
jobs :
runs_check :
strategy :
matrix :
modules : [ 'auto_pr_to_beta', 'standard_rust_scheduled' ]
runs-on : ubuntu-latest
steps :
- name : Check workflow run status
id : check_ci
uses : ronymeyer/[email protected]
with :
token : ${{ secrets.GITHUB_TOKEN }}
workflow : ${{ matrix.modules }}.yml
branch : alpha
- name : Check failure conclusion
if : ${{ steps.check_ci.outputs.conclusion == 'failure' }}
run : exit 1
- name : Check cancelled conclusion
if : ${{ steps.check_ci.outputs.conclusion == 'cancelled' }}
run : exit 1
- name : Check skipped conclusion
if : ${{ steps.check_ci.outputs.conclusion == 'skipped' }}
run : exit 1