feat: add intelligent PR failure handling workflow#52
Merged
Conversation
Changes: - Modified auto-draft-pr.yml to gracefully handle PR creation failures - Created pr-failure-handler.yml to monitor CI/CD results - Automatically closes PRs with critical failures (security, build issues) - Creates issues for documented bugs with detailed troubleshooting info - Detects patterns like: * GitHub Actions permission errors * npm security vulnerabilities * Exposed secrets * Build failures * Test failures This replaces the previous automatic PR creation approach with a more intelligent system that protects the repository from risky merges. Resolves issue with GitHub Actions not being permitted to create PRs.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
⚪ Workflow Summary: SEO & Marketing AutomationStatus: Pending | Progress: 0% Complete 📊 Check Results
📝 Detailed Results🔗 LinksReport generated at 2025-11-21 14:46:24 UTC by Workflow Summary Reporter |
Contributor
⚪ Workflow Summary: Commit Message LintingStatus: Pending | Progress: 0% Complete 📊 Check Results
📝 Detailed Results🔗 LinksReport generated at 2025-11-21 14:46:26 UTC by Workflow Summary Reporter |
Contributor
⚪ Workflow Summary: Enhanced CI/CD PipelineStatus: Pending | Progress: 0% Complete 📊 Check Results
📝 Detailed Results🔗 LinksReport generated at 2025-11-21 14:46:47 UTC by Workflow Summary Reporter |
BREAKING CHANGE: Automatic PR creation completely disabled Changes: - Renamed auto-draft-pr.yml to CI/CD Failure Monitor - Removed all automatic PR creation logic - Workflow now ONLY monitors CI/CD failures and creates issues - Disabled auto-pr-merge.yml workflow (changed trigger to workflow_dispatch only) - Added delayed check: waits up to 10 minutes for CI/CD pipeline completion - Creates detailed issues with troubleshooting steps on failure - Automatically assigns issues to the commit author - Categorizes failures: security, build, test, other - Marks critical failures (security/build) as high priority - Updates existing issues if branch already has a failure issue Why: GitHub Actions does not have permission to create PRs by default, causing workflow failures. Manual PR creation is now required. Issues created will include: - Detailed failure information with logs - Step-by-step troubleshooting guides - Links to workflow runs and commits - Automatic assignment for tracking - Proper labels and priority
|
Deployment failed with the following error: Learn More: https://vercel.com/docs/concepts/projects/project-configuration |
4eckd
pushed a commit
that referenced
this pull request
Nov 25, 2025
This audit report identifies all unmerged commits across branches: - 2 CRITICAL security fixes (SSRF vulnerability, unused imports) - 6 feature branches with unmerged work (email handling, UI updates, health monitoring, etc.) - 2 workflow/config fixes (CodeQL setup, merge error handling) Key findings: - 10 branches with unmerged commits (~30+ commits total) - Most recent successful merges: PR #54 and #52 - Several high-value features not in production Recommendations include immediate merge of security fixes and establishing better branch lifecycle management.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes:
This replaces the previous automatic PR creation approach with a more intelligent system that protects the repository from risky merges.
Resolves issue with GitHub Actions not being permitted to create PRs.