fix: remove uncompiled github-token from create-issue-command safe-output#92
Draft
fix: remove uncompiled github-token from create-issue-command safe-output#92
Conversation
…tput Co-authored-by: pmalarme <686568+pmalarme@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix resolve pull request review thread not working
fix: remove uncompiled github-token from create-issue-command safe-output
Feb 19, 2026
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.
Summary
resolve-pull-request-review-threadwas failing with "Resource not accessible by integration" — the job's GitHub App token cannot execute the GraphQLresolveReviewThreadmutation. The workaround (replace resolve withreply-to-pull-request-review-comment) was already applied to both the.mdsource and the compiled lock file, but an orphanedgithub-token: ${{ secrets.GH_AW_AGENT_TOKEN }}remained in the.mdfrontmatter that was never compiled into the lock file, leaving source and artifact out of sync.Changes:
github-token: ${{ secrets.GH_AW_AGENT_TOKEN }}from thereply-to-pull-request-review-commentsafe-output increate-issue-command.md.mdfrontmatter with the lock file'sGH_AW_SAFE_OUTPUTS_HANDLER_CONFIG(which already only carriesmax:1for this safe output) and with the pattern used by all other workflows in the repoThe
reply-to-pull-request-review-commentoperation works correctly with the job-levelGH_AW_GITHUB_TOKEN || GITHUB_TOKENtoken, which already haspull-requests: writevia thesafe_outputsjob permissions.Testing
Checklist
Additional context
Request failed due to following response errors: - Resource not accessible by integrationfor the GraphQL resolve mutationreply-to-pull-request-review-comment(REST API) works fine with the same token;resolveReviewThread(GraphQL) does not — a known GitHub App token limitationWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
github.github.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.