Skip to content

Commit 103b21a

Browse files
committed
Add post default
1 parent 49554bc commit 103b21a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Default (completed)
2+
3+
on:
4+
workflow_run:
5+
workflows: 'Default'
6+
types:
7+
- completed
8+
9+
jobs:
10+
context:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: ./.github/actions/context
14+
15+
on-success:
16+
runs-on: ubuntu-latest
17+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
18+
steps:
19+
- run: echo 'The triggering workflow passed'
20+
on-failure:
21+
runs-on: ubuntu-latest
22+
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
23+
steps:
24+
- run: echo 'The triggering workflow failed'

0 commit comments

Comments
 (0)