How to Test GitHub Actions Webhooks
GitHub Actions can trigger repository_dispatch webhook events and workflow_run notifications for CI/CD pipeline integrations.
GitHub Actions Official Webhook Docs1. GitHub Actions Webhook Events
GitHub Actions can send the following webhook events to your endpoint:
workflow_run.completedworkflow_run.requestedworkflow_job.completedworkflow_job.in_progressrepository_dispatchcheck_run.completed2. Set Up a Test Endpoint with HookRay
Follow these steps to start receiving GitHub Actions webhooks for testing:
- Go to HookRay and click "Start Testing — Free" to get your unique webhook URL.
- Copy the URL (e.g.,
https://h.hookray.com/abc123). - In your GitHub Actions dashboard, navigate to the webhook settings and paste the HookRay URL as your endpoint.
- Select the events you want to receive (see list above).
- Trigger a test event — HookRay will show the incoming webhook in real-time.
3. Sample GitHub Actions Webhook Payload
Here's an example of what a GitHub Actions webhook payload looks like:
{
"action": "completed",
"workflow_run": {
"id": 2345678901,
"name": "CI Pipeline",
"head_branch": "main",
"head_sha": "abc123def456",
"status": "completed",
"conclusion": "success",
"run_number": 127
},
"repository": {
"full_name": "acme/hookray"
}
}4. Common Issues & Troubleshooting
Webhook not arriving?
Check that your endpoint URL is correct and publicly accessible. GitHub Actions cannot reach localhost URLs — use HookRay's cloud URL instead.
Getting 400 or 500 errors?
HookRay accepts any payload and returns 200 OK by default, so the issue is likely on GitHub Actions's side. Check your webhook configuration and event selection.
Need to verify webhook signatures?
GitHub Actions signs webhook requests for security. Use HookRay to capture the raw headers and body, then implement signature verification in your application code.
5. Next Steps
- Use HookRay's webhook replay feature to re-send captured webhooks while building your handler
- Enable smart parsing (Pro plan) to see GitHub Actions-specific fields highlighted automatically
- Check the GitHub Actions webhook documentation for the complete event reference
Ready to test GitHub Actions webhooks?
Get a free webhook URL in 5 seconds. No signup required.
Start Testing GitHub Actions Webhooks — Free