Skip to content

Conversation

ashishkurmi
Copy link

This PR sets minimum token permission for all workflow files in the repository. Currently, GitHub token has elevated access as demonstrated by the following GitHub Actions workflow run that was executed 13 hours ago:
https://github.com/airbnb/javascript/actions/runs/3356458922/jobs/5561538946#step:1:19

In addition to this PR, if you have repo admin access, then you should consider setting the following permission so that new workflow files will default to read-only permissions
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository

Signed-off-by: Ashish Kurmi [email protected]

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