Skip to content

Commit

Permalink
aggregate-status for all workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
drink7036290 committed Dec 6, 2024
1 parent 5bac60c commit 5079f96
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CI

on:
workflow_run:
workflows: ["benchmarks", "miri"] # A or B
types:
- completed

jobs:
aggregate-status:
name: Aggregate Status
runs-on: ubuntu-latest
steps:
- name: Check Workflow Conclusion
run: |
if [ "${{ github.event.workflow_run.conclusion }}" != "success" ]; then
echo "Workflow ${{ github.event.workflow_run.name }} failed."
exit 1
fi

0 comments on commit 5079f96

Please sign in to comment.