Home / Companies / GitHub / Blog / Post Details
Content Deep Dive

New and Improved Service Hook Payloads

Blog post from GitHub

Post Details
Company
Date Published
Author
Aman Gupta
Word Count
149
Company Posts That Month
21
Language
English
Hacker News Points
-
Post removed?
No
Summary

Recent updates to service hook payloads introduce several new fields, including a flag for distinct commits, indicators for newly created or deleted branches, and a base reference name for new branches. These enhancements are utilized by the campfire service hook to refine the messages sent, ensuring only new commits are highlighted during merges and preventing unnecessary notifications from clean fast-forward merges. Additionally, when new branches are created via git push, the name of the base branch is now displayed, and branches created with commits locally will showcase new changes. While previously service hooks did not trigger on branch deletions, they now include a deleted=true payload, though CI systems and other endpoints uninterested in deletions can opt to ignore this information.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.