We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1f944b commit 01f383dCopy full SHA for 01f383d
2 files changed
.github/workflows/webhook.yml
@@ -9,7 +9,5 @@ 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"
github-actions/Readme.me
@@ -13,4 +13,12 @@ curl -X POST \
-H "Authorization: token {PAT} \
-d '{"event_type": "webhook", "client_payload": {"key": "value"} }' \
https://api.github.com/repos/{owner}/{repo}/dispatches
16
+```
17
+
18
+```sh
19
+curl -X POST \
20
+-H "Accept: application/vnd.github+json" \
21
+-H "Authorization: token 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" \
22
+-d '{"event_type": "webhook", "client_payload": {"key": "value"} }' \
23
+https://api.github.com/repos/Sheane-mario/Github-Examples/dispatches
24
```
0 commit comments