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

Add read-only top-level token permissions to workflows #2214

Closed
wants to merge 2 commits into from

Conversation

pnacht
Copy link

@pnacht pnacht commented Mar 24, 2023

Summary

Description

As described in the linked issue, this PR adds read-only top-level token permissions to both of psutil's workflows.

Some of build.yml's jobs require action: write permissions for the styfle/cancel-workflow-action, so those have been granted at the job level (so the other jobs don't have that privilege). The same goes for issues.yml, which modifies issues and PRs.

Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
@pnacht
Copy link
Author

pnacht commented Jun 7, 2023

Hey, let me know if this is something you're interested in. Otherwise, feel free to close!

@pnacht
Copy link
Author

pnacht commented Aug 25, 2023

I'll close this for now. If there's interest, just holler!

@pnacht pnacht closed this Aug 25, 2023
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.

Add read-only token permissions to workflows
1 participant