Github Issue Auto Fixer avatar
Github Issue Auto Fixer

Pricing

Pay per usage

Go to Apify Store
Github Issue Auto Fixer

Github Issue Auto Fixer

Github Issue Auto Fixer is an AI-powered GitHub assistant that automatically scans your repo, detects issues, and fixes them. It creates a new branch, submits a pull request, comments on the issue, and emails you for review — keeping your code clean and up to date effortlessly.

Pricing

Pay per usage

Rating

5.0

(3)

Developer

Ashutosh Sahoo

Ashutosh Sahoo

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

17 days ago

Last modified

Share

🤖 Automated GitHub Issue Fixer

An AI-powered Apify Actor that automatically monitors GitHub repositories, analyzes issues, creates fixes, generates pull requests, and sends email notifications.

✨ Features

  • 🔍 Continuous Monitoring: Actively monitors your GitHub repository for new issues
  • 🧠 AI-Powered Analysis: Analyzes issues and understand your codebase
  • 🔧 Automatic Fixes: Generates code fixes based on issue descriptions and repository context
  • 🌿 Branch Management: Creates dedicated branches for each fix
  • 📝 Pull Request Creation: Automatically creates well-documented pull requests and comments on issue then closes it.
  • 📧 Email Notifications: Sends detailed email notifications about fixes and PRs
  • 🔄 Auto-Merge Option: Optionally auto-merge PRs (use with caution!)

📋 Prerequisites

Before using this Actor, you'll need:

  1. GitHub Personal Access Token

    • Go to GitHub Settings → Developer settings → Personal access tokens
    • Create a token with repo, workflow, and user:email permissions
  2. Google Gemini API Key(For now)

  3. Email Account for Notifications

    • SMTP server details (e.g., Gmail: smtp.gmail.com:587)
    • Email address and password/app-specific password

⚙️ Configuration

Required Inputs

FieldDescriptionExample
githubRepoUrlFull URL of the GitHub repository to monitorhttps://github.com/username/repo
githubTokenGitHub Personal Access Tokenghp_xxxxxxxxxxxx
geminiApiKeyGoogle Gemini API KeyAIzaSyxxxxxxxxxx
smtpServerSMTP server addresssmtp.gmail.com
emailFromEmail address to send frombot@example.com
emailPasswordEmail password or app-specific passwordxxxxxxxxxxxx
notificationEmailEmail to receive notificationsdeveloper@example.com

Optional Inputs

FieldDescriptionDefault
smtpPortSMTP server port587
pollingIntervalMinutesHow often to check for new issues (1-60 minutes)5
autoMergeAutomatically merge PRs after creationfalse
maxIssuesPerRunMaximum issues to process per iteration5

📖 Usage

On Apify Platform

  1. Go to the Actor page
  2. Click "Try for free"
  3. Fill in the required configuration
  4. Click "Start"
  5. The Actor will run continuously, monitoring for new issues

🔒 Security Considerations

[!WARNING] Auto-Merge: The auto-merge feature should be used with extreme caution. It's recommended to keep this disabled and manually review PRs before merging.

[!IMPORTANT] API Keys: Keep your GitHub token, Gemini API key, and email credentials secure. Use Apify's secret input fields to store sensitive data.

[!TIP] Testing: Test the Actor on a non-critical repository first to ensure it works as expected.

  1. A user creates an issue: "Fix the login button not working on mobile"
  2. The Actor detects the new issue within 5 minutes (default polling interval)
  3. Gemini AI analyzes the issue and relevant code files
  4. AI generates a fix (e.g., updating CSS for mobile responsiveness)
  5. Actor creates branch fix/issue-42
  6. Applies the fix and commits with message: "Fix issue #42: Fix login button on mobile"
  7. Pushes to GitHub and creates PR
  8. Sends email to developer with links to issue and PR
  9. Developer reviews PR and merges if satisfied

🆘 Support

For issues or questions: