Skip to content

Commit b01734f

Browse files
authored
Merge pull request #19 from argos-ci/debug-workflow-dispatch
Add workflow dispatch debug
2 parents e86f270 + a2248bc commit b01734f

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Debug repository_dispatch
2+
on:
3+
repository_dispatch:
4+
types: ["*"]
5+
jobs:
6+
log-event:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Print event type
10+
run: 'echo "Event type: ${{ github.event.action }}"'
11+
- name: Print full payload
12+
run: echo '${{ toJSON(github.event.client_payload) }}'
13+
- name: Print full event
14+
run: echo '${{ toJSON(github.event) }}'

0 commit comments

Comments
 (0)