Fix Repo Assist workflow: switch to copilot-requests auth and add checkout config - #32
Closed
shanselman with Copilot wants to merge 3 commits into
Closed
Fix Repo Assist workflow: switch to copilot-requests auth and add checkout config#32shanselman with Copilot wants to merge 3 commits into
shanselman with Copilot wants to merge 3 commits into
Conversation
Closed
Co-authored-by: shanselman <2892+shanselman@users.noreply.github.com>
…st workflow - Add `features: copilot-requests: true` to use GitHub Actions token for Copilot authentication instead of requiring a separate COPILOT_GITHUB_TOKEN secret, which resolves the consistent workflow failures - Add `checkout: fetch: ["*"], fetch-depth: 0` to fetch all remote branches, fixing the push-to-pull-request-branch target wildcard requirement - Recompile lock file with `gh aw compile --strict` (0 errors, 0 warnings) Co-authored-by: shanselman <2892+shanselman@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Debug agentic workflow failure for Repo Assist
Fix Repo Assist workflow: switch to copilot-requests auth and add checkout config
Jun 8, 2026
shanselman
marked this pull request as ready for review
June 8, 2026 06:52
18 tasks
Owner
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.
Repo Assist has failed on every run since it was added — the workflow requires a
COPILOT_GITHUB_TOKENsecret that was never configured in this repository.Changes
copilot-requestsfeature flag — uses the built-in GitHub Actions token (${{ github.token }}) for Copilot authentication, eliminating the need for a separate secretcheckoutconfiguration —fetch: ["*"]+fetch-depth: 0so the agent can access all PR branches, required bypush-to-pull-request-branch: target: "*"gh aw compile --strictpasses with 0 errors, 0 warningsKey compiled lock file changes:
COPILOT_GITHUB_TOKENswitches from${{ secrets.COPILOT_GITHUB_TOKEN }}→${{ github.token }},copilot-requests: writepermission added, secret validation step removed,S2STOKENS: trueenv injected.