Skip to content

Grant PR Actions Detective write access to issues - #1918

Merged
v1v merged 2 commits into
mainfrom
copilot/fix-workflow-permissions
Aug 27, 2026
Merged

v1v merged 2 commits into
mainfrom
copilot/fix-workflow-permissions

Conversation

Copilot AI commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

PR Actions Detective was failing to load because the reusable workflow’s nested conclusion and safe_outputs jobs need issues: write, while the trigger workflow only granted issues: read. This blocked the workflow from posting its detection comment on failed PR runs.

  • Permissions alignment

    • Updated the trigger workflow to grant issues: write so it matches the permissions required by the called reusable workflow.
  • Workflow source sync

    • Applied the same permission change in the workflow template source so future regenerations keep the trigger valid.
permissions:
  actions: read
  contents: read
  copilot-requests: write
  issues: write
  pull-requests: write

Co-authored-by: v1v <2871786+v1v@users.noreply.github.com>
Copilot AI assigned Copilot and v1v Aug 27, 2026
@v1v
v1v marked this pull request as ready for review August 27, 2026 11:03
@v1v
v1v merged commit d5093f1 into main Aug 27, 2026
11 checks passed
@v1v
v1v deleted the copilot/fix-workflow-permissions branch August 27, 2026 11:05
@github-actions github-actions Bot added the medium_boom Medium PR blast radius; likely benefits from human review label Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

medium_boom Medium PR blast radius; likely benefits from human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants