chore: rename example worflows from test to example (#1878)
This commit is contained in:
20
.github/workflows/workflow-run-example.yml
vendored
Normal file
20
.github/workflows/workflow-run-example.yml
vendored
Normal 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'
|
||||
Reference in New Issue
Block a user