“PRs too long? TL;DR got you :)"
A smart GitHub Pull Request Summarizer powered by Gemini 2.5 Flash. Automatically generates PR summaries using the PR description and code changes.
- Trigger: GitHub Actions runs whenever a PR is opened.
- Data Collection: The bot reads the PR number and repository name from environment variables.
- Processing: It fetches the PR description and code diff.
- Summary Generation: Passes the data to Gemini 2.5 Flash to produce a summary.
- Output: The generated summary is posted directly in the PR conversation.
-
Clone or add this repository to any project.
-
Go to Settings > Secrets and Variables > Actions in your repository.
-
Add a new secret:
GEMINI_API_KEY = <your-gemini-api-key> -
Done! The bot will automatically trigger on new PRs and post summaries in the PR conversation.
