Github Issue Auto Fixer
by glitch
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,...
Opens on Apify.com
About 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.
What does this actor do?
Github Issue Auto Fixer is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
🤖 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: Uses Google Gemini AI to analyze 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 - 📧 Email Notifications: Sends detailed email notifications about fixes and PRs - 🔄 Auto-Merge Option: Optionally auto-merge PRs (use with caution!) ## 🚀 How It Works 1. Issue Detection: The Actor continuously polls your GitHub repository for new issues 2. Code Analysis: When a new issue is found, Gemini AI analyzes the issue description and relevant code files 3. Fix Generation: AI generates appropriate code changes to fix the issue 4. Branch Creation: Creates a new branch with a descriptive name (e.g., fix/issue-123) 5. Code Application: Applies the generated fixes to the codebase 6. PR Creation: Creates a pull request with detailed explanation of the fix 7. Notification: Sends an email notification with links to the issue and PR 8. Optional Auto-Merge: If enabled, automatically merges the PR ## 📋 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 - Visit Google AI Studio - Create an API key for Gemini 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 | Field | Description | Example | |-------|-------------|---------| | githubRepoUrl | Full URL of the GitHub repository to monitor | https://github.com/username/repo | | githubToken | GitHub Personal Access Token | ghp_xxxxxxxxxxxx | | geminiApiKey | Google Gemini API Key | AIzaSyxxxxxxxxxx | | smtpServer | SMTP server address | smtp.gmail.com | | emailFrom | Email address to send from | bot@example.com | | emailPassword | Email password or app-specific password | xxxxxxxxxxxx | | notificationEmail | Email to receive notifications | developer@example.com | ### Optional Inputs | Field | Description | Default | |-------|-------------|---------| | smtpPort | SMTP server port | 587 | | pollingIntervalMinutes | How often to check for new issues (1-60 minutes) | 5 | | autoMerge | Automatically merge PRs after creation | false | | maxIssuesPerRun | Maximum issues to process per iteration | 5 | ## 📖 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 ### Local Development bash # Install Apify CLI npm install -g apify-cli # Clone the Actor apify pull # Install dependencies (done via Docker) # No need to run pip install manually # Build the Docker image docker build -t github-issue-fixer . # Run locally with Docker docker run -it --rm \ -e APIFY_INPUT_JSON='{"githubRepoUrl":"...","githubToken":"..."}' \ github-issue-fixer # Or use Apify CLI (which uses Docker) apify run ## 🔒 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. ## 📊 Output The Actor saves the following data to the dataset for each processed issue: json { "timestamp": "2025-12-15T18:30:00.000Z", "issue_number": 42, "issue_title": "Fix login bug", "issue_url": "https://github.com/user/repo/issues/42", "status": "success", "iteration": 1 } ## 🛠️ Technical Stack - Python 3.13: Core language - Apify SDK: Actor framework - PyGithub: GitHub API integration - Google Generative AI: Gemini AI for code analysis - GitPython: Local git operations - aiosmtplib: Async email sending ## 📝 Example Workflow 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: - Email: ashutoshsahoo556@gmail.com
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Github Issue Auto Fixer now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- glitch
- Pricing
- Paid
- Total Runs
- 17
- Active Users
- 1
Related Actors
Google Search Results Scraper
by apify
Website Content Crawler
by apify
🔥 Leads Generator - $3/1k 50k leads like Apollo
by microworlds
Video Transcript Scraper: Youtube, X, Facebook, Tiktok, etc.
by invideoiq
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support