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 permissions for github tokens #350

Open
pjfanning opened this issue Jul 21, 2022 · 1 comment
Open

Add read permissions for github tokens #350

pjfanning opened this issue Jul 21, 2022 · 1 comment

Comments

@pjfanning
Copy link
Contributor

pjfanning commented Jul 21, 2022

Lots of people are adding this their Github CI scripts:

# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
# 
permissions:
  contents: read
@armanbilge armanbilge changed the title github-actions: add read permissions for github tokens Add read permissions for github tokens Jul 21, 2022
@armanbilge
Copy link
Member

Thanks for opening this. Adding support for configuring fine-grained permissions is indeed a very good thing to do.

I think we may need write permissions for some steps, such as site publication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants