Skip to content

Commit 70cc970

Browse files
webhook.yml
1 parent ee0f1fb commit 70cc970

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.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)