Skip to content

Commit 18e1de6

Browse files
workflow trigger
1 parent afdc970 commit 18e1de6

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-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"

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"githubPullRequests.ignoredPullRequestBranches": [
3+
"main"
4+
]
5+
}

0 commit comments

Comments
 (0)