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
GitHub Availability Report: November 2024
In November, we experienced one incident that resulted in degraded performance across GitHub services.
The top 10 gifts for the developer in your life
Whether you’re hunting for the perfect gift for your significant other, the colleague you drew in the office gift exchange, or maybe (just maybe) even for yourself, we’ve got you covered with our top 10 gifts that any developer would love.
Congratulations to the winners of the 2024 Gaady Awards
The Gaady Awards are like the Emmy Awards for the field of digital accessibility. And, just like the Emmys, the Gaadys are a reason to celebrate! On November 21, GitHub was honored to roll out the red carpet for the accessibility community at our San Francisco headquarters.