Skip to content

Commit 8a0e73a

Browse files
committed
add webhook
1 parent 8fe915f commit 8a0e73a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/webhook.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "Webhook Event example"
2+
3+
on:
4+
repository_dispatch:
5+
types:
6+
- webhook
7+
8+
jobs:
9+
respond-to-dispatch:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name Checkout repo
13+
uses: actions/checkout@v2
14+
- name: Run a script
15+
run: echo "Event of type: $GITHUB_EVENT_NAME"

0 commit comments

Comments
 (0)