{{ message }}
github-actions
Directory actions
More options
Directory actions
More options
github-actions
Folders and files
## Manual Trigger
```sh
gh workflow run greet.yml -f name=mona -f greeting=hello -F data=@myfile.txt
echo '{"name":"mona", "greeting":"hello"}' | gh workflow run greet.yml --json
```
## Webhook Event
```sh
curl -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token {PAT}" \
-d '{"event_type": "webhook", "client_payload": {"key": "value"} }' \
"https://api.github.com/repos/ShanMorton/GitHub-Examples/dispatches"
```