New and Improved Service Hook Payloads
The service hook payloads now have the following new fields: distinct=true for commits that are new to the repository created=true for new branches deleted=true for branch deletions base=NAME for the…
The service hook payloads now have the following new fields:
-
distinct=true
for commits that are new to the repository -
created=true
for new branches -
deleted=true
for branch deletions -
base=NAME
for the base ref associated with a new branch
The campfire service hook now uses these new fields to improve messages sent to campfire:
Merges
Before, merges would replay existing commits that were merged into the branch:
Now, these distinct=false
commits are ignored so only new commits show up:
This means that clean fast-forward merges no longer produce any campfire activity.
Forced Pushes
New Branches
New branches created via git push origin base:new
show the name of the base branch:
Branches created locally with commits show what’s new:
Deleted Branches
Note: Service hooks were not previously fired on branch deletions. CI and other endpoints that do not care about branch deletions can ignore deleted=true
payloads.
Written by
Related posts
Celebrating the GitHub Awards 2024 recipients 🎉
The GitHub Awards celebrates the outstanding contributions and achievements in the developer community by honoring individuals, projects, and organizations for creating an outsized positive impact on the community.
New from Universe 2024: Get the latest previews and releases
Find out how we’re evolving GitHub and GitHub Copilot—and get access to the latest previews and GA releases.
Bringing developer choice to Copilot with Anthropic’s Claude 3.5 Sonnet, Google’s Gemini 1.5 Pro, and OpenAI’s o1-preview
At GitHub Universe, we announced Anthropic’s Claude 3.5 Sonnet, Google’s Gemini 1.5 Pro, and OpenAI’s o1-preview and o1-mini are coming to GitHub Copilot—bringing a new level of choice to every developer.