All of the Hooks
Over three years ago, @pjhyett launched GitHub Services with just four services: Campfire, IRC, Lighthouse, and Twitter. Since then, 124 other people contributed to a total of 68 third-party services.…
Over three years ago, @pjhyett launched GitHub Services with just four services: Campfire, IRC, Lighthouse, and Twitter. Since then, 124 other people contributed to a total of 68 third-party services. We and many others depend on these services to power our workflow and ship awesome features.
There have been two main requests for Hooks: an API to manage the Hooks, and support for other GitHub events besides just push.
Today, we’re announcing two APIs for Hooks and eleven new possible events, so you can build tighter integrations around GitHub.
The new events are:
issues
– Any time an Issue is opened or closed.issue_comment
– Any time an Issue is commented on.commit_comment
– Any time a Commit is commented on.pull_request
– Any time a Pull Request is opened, closed, or synchronized (updated due to a new push in the branch that the pull request is tracking).gollum
– Any time a Wiki page is updated.watch
– Any time a User watches the Repository.download
– Any time a Download is added to the Repository.fork
– Any time a Repository is forked.fork_apply
– Any time a patch is applied to the Repository from the Fork Queue.member
– Any time a User is added as a collaborator to a non-Organization Repository.public
– Any time a Repository changes from private to public.
In addition to an HTTP Hook API that’s consistent with the rest of API v3, we also support a PubSubHubbub endpoint to manage Hooks. The core Web hook already accepts hooks from all twelve events. The Campfire and IRC hooks support the new pull request and issue events as well. These changes are available in the API only, so eager developers can take a crack at them. Expect a future update to the Service Hook admin in the near future once these changes have been proven in battle.
Written by
Related posts
![](https://github.blog/wp-content/uploads/2023/10/Collaboration-DarkMode-2.png?resize=400%2C212)
2024 is the biggest global election year in history. What’s at stake for developers?
GitHub is considering what is at stake for our users and platform, how we can take responsible action to support free and fair elections, and how developers contribute to resilient democratic processes.
![](https://github.blog/wp-content/uploads/2023/10/AI-DarkMode-2.png?resize=400%2C212)
GitHub named a Leader in the Gartner first-ever Magic Quadrant for AI Code Assistants
This year, as part of its annual Magic Quadrant series, Gartner published a first-of-its-kind report analyzing the state of play in the AI Code Assistants market–and named GitHub a Leader.
![AI in software development 2024 survey results with colorful graphics and percentages.](https://github.blog/wp-content/uploads/2024/08/ai-survey-header.png?resize=400%2C212)
Survey: The AI wave continues to grow on software development teams
We surveyed 2,000 people on software development teams at enterprises in the U.S., Brazil, India, and Germany about the use, experience, and expectations around generative AI tools in software development.