Thinky Face is your prompt library, finally organized. Unlimited prompt storage, full version control, fork other users' prompts, public & private sharing, MCP server, teams, and much more. Learn more.
Create Free Account
No credit card required
Monitor GitHub PR Checks and Fix Failures
Description
Run this within a branch that has a PR (or provide a PR number) and have it fix your PR checks for you.
monitor-github-pr-checks-and-fix-failures.md
Task: Monitor GitHub PR Checks and Fix Failures
Instructions
- Monitor the PR checks by running:
gh pr checks --watch -i 60
- If you're within a git branch, no PR number is needed
- If you're not in a branch, a PR number is required — ask the user for it
- If any checks fail:
- Get the detailed logs to diagnose the issue (use json output if necessary):
gh pr checks
- Identify the failing check and retrieve its logs
- Analyze the error to determine the root cause
- Fix the error:
- Make the necessary code changes to resolve the failure
- Notify the user when complete
Notes
- Always determine if you're in a branch context first before running commands
- If unsure about the PR number, ask the user before proceeding
Comments
Press Enter to post
No comments yet. Be the first to comment.