[PR #120] [CLOSED] fix: grant write permissions for Copilot agent to post PR review comments #253
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
webgrip/homelab-cluster#253
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/webgrip/homelab-cluster/pull/120
Author: @Copilot
Created: 5/22/2026
Status: ❌ Closed
Base:
main← Head:copilot/renovate-agent-review-118📝 Commits (1)
ee61c37Initial plan📄 Description
The Copilot renovate-reviewer agent cannot post comments on PRs or issues — the
GITHUB_TOKENavailable in the agent environment has no write scope (Resource not accessible by integrationHTTP 403 on both GraphQLaddCommentand RESTPOST .../issues/{n}/comments).The
github-writerMCP tools referenced in the agent instructions are not wired up or not available in the current Copilot agent environment, so reviews fall back to being printed in the session log rather than posted to the PR.What needs to change
pull-requests: write(to comment on PRs) andissues: write(to close tracking issues). This is either acopilot-setup-steps.ymlenvironment secret or a workflow-levelpermissions:grant.github-writerMCP availability — confirm the MCP server providingadd_issue_comment/update_issue_commenttools is registered and reachable in the agent's MCP config, otherwise the agent has no write path regardless of token scope.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.