GitHub Submit Review Decision
UTILITY SKILL. INVOKES: GitHub review tool. FOR SINGLE OPERATIONS: final PR review submission only.
USE FOR:
- Approving a PR.
- Requesting changes on a PR.
- Submitting a comment-only final PR review.
- Repo, PR number, reviewed SHA, action, and body are available.
DO NOT USE FOR:
- Inline file comments; use
github-publish-inline-review-comment. - Top-level PR comments; use
github-publish-pr-comment. - Mixed review-item batches; use
github-publish-review-items. - Review drafting without final submission.
Inputs
- Require
repo_full_name. - Require
pr_number. - Require pinned reviewed
commit_id. - Require the review
action:APPROVEREQUEST_CHANGESCOMMENT
- Require review body.
Workflow
- Confirm the PR head still matches reviewed
commit_id.- If the head moved, ask for a fresh local review.
- If required input is missing, ask before submitting.
- Submit through the GitHub PR review tool.
- Do not attach file comments or top-level PR comments.
- Return short status.
Examples
- "Approve repo
acme/appPR #42 at reviewed commitabc123with bodyLooks good to me." - "Submit REQUEST_CHANGES on PR #42 with this review body..."
Troubleshooting
- Head moved: ask for a fresh local review.
- Missing input: ask for the field; do not submit.
Output
- Success:
Submitted APPROVE review to PR #123 at reviewed head <sha>.
- Failure:
Could not submit APPROVE review to PR #123: ...