# The push webhook payload provides a consistent head\_commit on tag creation

DevFeed: [The push webhook payload provides a consistent head\_commit on tag creation](<https://devfeed.tech/articles/the-push-webhook-payload-provides-a-consistent-head-commit-on-tag-creation-74322.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2021-10-01-the-push-webhook-payload-provides-a-consistent-head_commit-on-tag-creation>)

Author: phanatic

Published: 2021-10-01T22:28:57Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [Prometheus Alertmanager webhook](<https://devfeed.tech/topics/prometheus-alertmanager-webhook.md>), [Push Notifications](<https://devfeed.tech/topics/push-notifications.md>), [payload](<https://devfeed.tech/topics/payload.md>)

Tags: [commit](<https://devfeed.tech/tags/commit.md>), [payload](<https://devfeed.tech/tags/payload.md>), [tag](<https://devfeed.tech/tags/tag.md>), [webhook](<https://devfeed.tech/tags/webhook.md>)

## AI overview

GitHub's push webhook payload now consistently includes a `head_commit` object for newly created tags. The object contains the data for the commit referenced by the payload's `after` field, addressing cases where it previously contained data from a different commit.

## Source excerpt

When a new tag is created, the push webhook payload will now always include a head_commit object that contains the data of the commit that the new tag points to....