Skip to content

Commit e37a1ef

Browse files
committed
Explore GitHub action triggers.
1 parent 757bdef commit e37a1ef

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: After Snapshots
2+
3+
on:
4+
workflow_run:
5+
workflows: [ Snapshots ]
6+
types:
7+
- completed
8+
9+
permissions: read-all
10+
11+
jobs:
12+
on-success:
13+
runs-on: ubuntu-latest
14+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
15+
steps:
16+
- run: echo 'The triggering workflow passed successfully! ${{ toJson(github.event.workflow_run) }}'

0 commit comments

Comments
 (0)