This GitHub Action uses AI models from OpenAI and Anthropic's Claude 3, and Gemini to automatically generate formatted and insightful content for pull requests based on code changes. It is designed to streamline the PR review process by providing detailed summaries and insights.
- Automated PR content generation using AI models.
- Supports OpenAI (GPT-3.5) and Gemini for code summaries.
- Manually triggered workflows to avoid unnecessary runs in the development repository.
- Customizable for different AI platforms and integration.
Before you can use this GitHub Action, you need:
- A GitHub account.
- Administrative access to a repository.
- API keys for OpenAI, Anthropic (Claude 3), and Gemini added to your repository's secrets.
-
Fork or Clone This Repository
- Fork this repository to your GitHub account or clone it directly to your local machine.
-
Configure GitHub Secrets
- Go to your repository settings, navigate to 'Secrets', and add your
OPENAI_API_KEY
,GEMINI_API_KEY
, andANTHROPIC_API_KEY
.
- Go to your repository settings, navigate to 'Secrets', and add your
-
Enable GitHub Actions
- Ensure that GitHub Actions is enabled for your repository.
-
Automatically on Pull Requests:
- The action will automatically run when a pull request is created, reopened, or synchronized.
-
Manually (using workflow_dispatch):
- You can manually trigger the workflow using the
workflow_dispatch
option. This allows you to specify the base branch, head branch, and the AI provider you wish to use (OpenAI, Anthropic, or Gemini).
- You can manually trigger the workflow using the
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Check out our contributing guidelines for more information on how to report bugs, suggest enhancements, and submit pull requests.
Distributed under the MIT License. See LICENSE
for more information.