Skip to content

ci: use minimal permissions for Github Actions#351

Merged
josephlr merged 1 commit intomasterfrom
perms
Mar 25, 2023
Merged

ci: use minimal permissions for Github Actions#351
josephlr merged 1 commit intomasterfrom
perms

Conversation

@josephlr
Copy link
Member

Fixes #348

we only need to read the contents of the repo to run our tests, no other permissions are needed, as we currently do not publish via our CI jobs.

Thanks to @joycebrum for bringing this to our attention.

Fixes #348

we only need to read the contents of the repo to run our tests, no other
permissions are needed, as we currently do not publish via our CI jobs.

Signed-off-by: Joe Richey <joerichey@google.com>
@josephlr josephlr requested a review from newpavlov March 24, 2023 21:40
@josephlr josephlr merged commit 03defac into master Mar 25, 2023
@josephlr josephlr deleted the perms branch March 25, 2023 02:30
takumi-earth pushed a commit to earthlings-dev/getrandom that referenced this pull request Jan 27, 2026
Fixes rust-random#348

we only need to read the contents of the repo to run our tests, no other
permissions are needed, as we currently do not publish via our CI jobs.

Signed-off-by: Joe Richey <joerichey@google.com>
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.

Set minimal scoped permissions to github workflows

2 participants