Skip to content

Run PR checks without privileged credentials - #13

Merged
mre merged 3 commits into
masterfrom
fix/pr-workflow-permissions
Oct 21, 2026
Merged

mre merged 3 commits into
masterfrom
fix/pr-workflow-permissions

Conversation

@mre

@mre mre commented Oct 21, 2026

Copy link
Copy Markdown
Member

PR checks currently execute pull request code through pull_request_target with a write-enabled token. Run them only on pull_request, limit the token to read-only repository access, and stop persisting checkout credentials. This also removes the duplicate runs that cancel each other.

@mre
mre merged commit 5ea355e into master Oct 21, 2026
12 checks passed
@mre
mre deleted the fix/pr-workflow-permissions branch October 21, 2026 22:21
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.

1 participant