Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.
GitHub offers many features that help the developer workflow. One of them is webhooks, the other one is integrations.
Webhooks
Webhooks allow external services to be pinged when certain events happen in the repository, like when code is pushed, a fork is made, or a tag is created or deleted.
When an event happens, GitHub sends a POST request to the URL we told it to use.
A common usage of this feature is to ping a remote server to fetch the latest code from GitHub when we push an update from our local computer.
We push to GitHub, GitHub tells the server we pushed, the server pulls from GitHub.
Integrations
You can use 3rd party integrations that improve the developer experience or provide a service to you.
For example, you can set up a test runner to run the tests automatically every time you push some new commits, using TravisCI.
You can set up continuous integration using CircleCI.
You might create a Codeclimate integration that analyzes the code and provides a report of technical debt and test coverage.