Skip to content
This repository was archived by the owner on Oct 23, 2026. It is now read-only.

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

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

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant