mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-18 09:44:46 +00:00
18 lines
442 B
YAML
18 lines
442 B
YAML
|
name: Workflow Run Exmaple
|
||
|
on:
|
||
|
workflow_run:
|
||
|
workflows: [Matrix Test]
|
||
|
types: [completed]
|
||
|
|
||
|
jobs:
|
||
|
on-success:
|
||
|
runs-on: ubuntu-latest
|
||
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||
|
steps:
|
||
|
- run: echo 'The triggering workflow passed'
|
||
|
on-failure:
|
||
|
runs-on: ubuntu-latest
|
||
|
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
|
||
|
steps:
|
||
|
- run: echo 'The triggering workflow failed'
|