Skip to content

rust_status

rust_status #574

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