Improvement

April 7, 20251 Minute Read

Changes to the repository object in push webhook

We are updating the url field for push webhook events.

Previously, both html_url and url returned the same link, unlike other events like pull_request.

Now, html_url will return the repository URL (e.g., https://github.com/<org>/<reponame> )  and url will provide the API URL (e.g., https://api.github.com/repos/<org>/<reponame>).

Join the discussion in GitHub Community.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Changes to the repository object in push webhook - GitHub Changelog