Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.github/workflows/: set token permissions #37810

Merged
merged 1 commit into from
Jul 3, 2022

Conversation

classabbyamp
Copy link
Member

@classabbyamp classabbyamp commented Jul 3, 2022

Testing the changes

  • I tested the changes in this PR: YES

closes #37612

requires changing the default workflow permissions in the repository settings to:

image

The default permissions are read-only, which works fine for the build/PR CI workflow. Cycles needed write access to issues to create them if a cycle is detected. Stale needs write access to issues and pull requests, as is documented upstream. This is safe because both those workflows should only run on master.

@the-maldridge the-maldridge merged commit 1d9bfae into void-linux:master Jul 3, 2022
@classabbyamp classabbyamp deleted the fix/ci-perms branch July 3, 2022 00:46
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