@@ -67,8 +67,8 @@ workflow only runs for same-repo PRs targeting
6767### 2. Verify readiness
6868
6969Confirm CI is green, no review threads are
70- unresolved, and the latest commit has a Copilot
71- review before enqueuing.
70+ unresolved, and a high-effort code review leaves
71+ nothing to fix before enqueuing.
7272
7373Check CI:
7474
@@ -108,34 +108,20 @@ are more than 100 threads and you must paginate
108108before trusting the count.
109109
110110Stop if the count is greater than zero. Run
111- ` /pr-fixup ` first to address the remaining
111+ ` /gh- pr-fixup ` first to address the remaining
112112threads.
113113
114- Check that Copilot reviewed the latest commit:
114+ Run a final high-effort code review and auto-apply
115+ its fixes:
115116
116- ``` bash
117- gh api --paginate " repos/$OWNER /$REPO /pulls/$PR /reviews" \
118- -q ' [.[] | select(.user.login ==
119- "copilot-pull-request-reviewer[bot]")]
120- | last | .commit_id'
121- ```
122-
123- Compare the returned commit SHA with the PR head:
124-
125- ``` bash
126- gh pr view " $PR " --json commits \
127- -q ' .commits[-1].oid'
117+ ``` text
118+ /code-review xhigh --fix
128119```
129120
130- If the two SHAs do not match, Copilot has not
131- reviewed the latest push. Request a review and
132- wait before enqueuing:
133-
134- ``` bash
135- gh api --method POST \
136- " repos/$OWNER /$REPO /pulls/$PR /requested_reviewers" \
137- -f ' reviewers[]=copilot-pull-request-reviewer[bot]'
138- ```
121+ If the review changes any files, the branch is not
122+ ready — run ` /gh-pr-fixup ` to commit, push, and
123+ re-run CI before enqueuing. If it makes no changes,
124+ the review is clean; proceed.
139125
140126### 3. Add the ` queue ` label
141127
0 commit comments