Skip to content

fix: add issues: write permission to update-labs-config workflow#364

Merged
nourshaker-msft merged 2 commits into
mainfrom
copilot/fix-update-labs-config-job
Jul 6, 2026
Merged

fix: add issues: write permission to update-labs-config workflow#364
nourshaker-msft merged 2 commits into
mainfrom
copilot/fix-update-labs-config-job

Conversation

Copilot AI commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

The update-labs-config workflow was failing with HTTP 403 when attempting to post a PR preview comment via github.rest.issues.createComment.

Root cause

issues.createComment requires issues: write scope. The workflow only declared pull-requests: write, which is insufficient for the Issues API endpoint.

Change

permissions:
  contents: write
  pull-requests: write
  issues: write   # added

Copilot AI changed the title [WIP] Fix the failing GitHub Actions job update-labs-config fix: add issues: write permission to update-labs-config workflow Jul 6, 2026
Copilot AI requested a review from nourshaker-msft July 6, 2026 10:17
@nourshaker-msft nourshaker-msft marked this pull request as ready for review July 6, 2026 10:18
@nourshaker-msft nourshaker-msft merged commit 7c90f58 into main Jul 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants