Building GitHub Bots
2h 27mAdvanced2024-08-08
Authors

Manaswini Das
Course details
GitHub offers an incredible range of features for managing, testing, and even deploying code, but it can be a lot. Fortunately, GitHub also provides tools that help you manage those complex processes, according to your specifications. Join Manaswini Das to explore bot-building using Python and Probot, with regular assistance from GitHub Copilot.
Skills covered
Github CopilotVersion ControlGitHubPythonSoftware Development ToolsProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
Introduction
- Introduction to building GitHub bots
- What you should know
GitHub Bots
- What are GitHub bots
- Benefits of GitHub bots
- Examples of GitHub bots
- GitHub API basics
- GitHub webhooks and events
- Challenge - Post an issue comment
- Solution - Post an issue comment
Build a GitHub Bot Using Python
- Development environment setup
- Get started
- Using gidgethub on the command line
- Write and deploy a Hello World web service
- Using gidgethub to respond to webhooks
- Do more with your GitHub bot
- Challenge - Comment when a pull request is merged
- Solution - Comment when a pull request is merged
Build a GitHub Bot Using Probot
- What is Probot
- Development environment setup
- Configure Probot app
- Deploy your Probot app
- Best practices
- Challenge - Configure your bot to add an approved label
- Solution - Configure your bot to add an approved label
Resources and Further Reading
- Recommended books and other resources
- Communities and forums to join
Conclusion
- Next steps