Skip to content
17 linesCodeBlameRaw
1name: After CI
2on:
3 workflow_run:
4 workflows: ["CI", "Build"]
5 types: [completed]
6 branches: [main]
7jobs:
8 on-success:
9 runs-on: ubuntu-latest
10 if: ${{ github.event.workflow_run.conclusion == 'success' }}
11 steps:
12 - run: echo 'The triggering workflow passed'
13 on-failure:
14 runs-on: ubuntu-latest
15 if: ${{ github.event.workflow_run.conclusion == 'failure' }}
16 steps:
17 - run: echo 'The triggering workflow failed'