mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-18 19:44:45 +00:00
20 lines
473 B
YAML
20 lines
473 B
YAML
name: Workflow Run Example
|
|
on:
|
|
workflow_run:
|
|
workflows: [Matrix Test]
|
|
types: [completed]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
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'
|