Skip to content

Commit 4419089

Browse files
Create dispatch-workflow-test.yml
1 parent 15052d8 commit 4419089

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: dispatch-workflow-test-repo
2+
run-name: Automation Test [${{ github.event.client_payload.distinct_id }}]
3+
4+
on:
5+
repository_dispatch:
6+
types: [deploy] # must match the dispatcher's event-type
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Echo payload
13+
run: |
14+
echo "event=repository_dispatch"
15+
echo "distinct_id=${{ github.event.client_payload.distinct_id }}"
16+
echo "string-type=${{ github.event.client_payload.string-type }}"
17+
echo "nested.number-type=${{ github.event.client_payload.nested.number-type }}"
18+
echo "nested.boolean-type=${{ github.event.client_payload.nested.boolean-type }}"

0 commit comments

Comments
 (0)