Skip to content

Supported Events

WebHooker supports 23 GitHub webhook event types, each with a dedicated formatter that produces rich Discord embeds. Unsupported events fall through to a generic formatter.

Events Table

EventDescriptionEmbed Highlights
pushCode pushed to a branchCommit list, branch, author, diff stats
pull_requestPR opened/closed/merged/editedPR title, branch, diff stats, labels
issuesIssue opened/closed/editedIssue title, labels, assignees
issue_commentComment on issue or PRComment body, issue reference
workflow_runCI/CD workflow completedWorkflow status, conclusion, duration
releaseRelease published/editedTag, body, assets, pre-release flag
createBranch or tag createdRef name, ref type
deleteBranch or tag deletedRef name, ref type
starRepository starred/unstarredStar count, action
forkRepository forkedSource → target fork
check_runCheck run completedStatus, conclusion, details URL
pull_request_reviewPR review submittedReview state (approved/changes/commented), body
pull_request_review_commentInline code review commentFile path, line number, comment body
commit_commentComment on a commitCommit SHA, comment body
deployment_statusDeployment status updatedEnvironment, status, commit ref
memberCollaborator added/removedMember login, action
labelLabel created/edited/deletedLabel name, color, description
milestoneMilestone opened/closedProgress bar, issue counts, due date
discussionDiscussion created/answeredTitle, category, action
discussion_commentComment on discussionComment body, discussion reference
repositoryRepo renamed/transferredOld → new name, changes
code_scanning_alertCode scanning alertSeverity, rule ID, file path
dependabot_alertDependabot alertSeverity, package, vulnerable range, fix version

Color Coding

Each event type uses a distinct color in the Discord embed:

ColorEvents
Green (#2ea44f)push, issue opened, PR opened, release published, star, member added
Red (#d73a49)issue closed, PR closed, deployment failure, dependabot critical
Purple (#7057ff)PR merged, discussion created
Blue (#0366d6)PR review commented, issue comment, workflow run
Yellow (#dbab09)PR review changes requested, deployment pending
Teal (#00897b)check run, code scanning
Orange (#e67e22)label, milestone
Gray (#6a737d)delete, repository, member removed

Generic Fallback

Any event type without a dedicated formatter falls through to the generic formatter, which produces a basic embed with:

  • Event type as title
  • Action (if available)
  • Actor login
  • Repository name
  • Raw payload as code block (truncated to 1000 chars)

Filter Compatibility

FilterWorks With
eventAll events
repoAll events
actorAll events
actionEvents with action field in payload
branchpush, pull_request, pull_request_review, pull_request_review_comment, create, delete, workflow_run, code_scanning_alert
keywordAll events (searches full payload body)

Released under the MIT License.