Skip to content

Commit

Permalink
chore: create workflow-run-test.yml (#1828)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Jan 6, 2024
1 parent 0e8d796 commit fdccafb
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/workflow-run-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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'

0 comments on commit fdccafb

Please sign in to comment.