Skip to content

fix(ci): grant PR risk write permission#1136

Merged
betegon merged 1 commit into
mainfrom
fix/pr-risk-write-permission
Jun 23, 2026
Merged

fix(ci): grant PR risk write permission#1136
betegon merged 1 commit into
mainfrom
fix/pr-risk-write-permission

Conversation

@betegon

@betegon betegon commented Jun 23, 2026

Copy link
Copy Markdown
Member

Summary

The PR risk workflow can now score successfully, but the label write still returns Resource not accessible by integration on PR labels. This grants pull-requests: write in addition to issues: write so the action can apply risk: low, risk: medium, or risk: high.

Test Plan

  • Verified fix sql injection #1134 rerun loads getsentry/pr-risk-action@v0 and scores medium.
  • Verified label add currently fails with 403 from the Actions token before this permission change.

@betegon betegon marked this pull request as ready for review June 23, 2026 20:25
@betegon betegon merged commit 5f58bca into main Jun 23, 2026
26 of 27 checks passed
@betegon betegon deleted the fix/pr-risk-write-permission branch June 23, 2026 20:25
@github-actions github-actions Bot added the risk: low PR risk score: low label Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant