chore: rename example worflows from test to example (#1878)

This commit is contained in:
Tonye Jack
2024-01-20 22:54:00 -07:00
committed by GitHub
parent 88f9f3efbb
commit c6543c497a
5 changed files with 4 additions and 5 deletions

View File

@@ -0,0 +1,20 @@
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'