Skip to content

Conversation

@matsuo
Copy link
Contributor

@matsuo matsuo commented Dec 16, 2025

References:
https://docs.github.com/en/actions/tutorials/authenticate-with-github_token#using-the-github_token-in-a-workflow

As a good security practice, you should always make sure that actions only have the minimum access they require by limiting the permissions granted to the GITHUB_TOKEN.

https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#permissions

Work with the contents of the repository. For example, contents: read permits an action to list the commits

@msyk msyk merged commit ff3d19b into msyk:master Dec 16, 2025
50 checks passed
@matsuo matsuo deleted the remove-unnecessary-github-token-permissions branch December 16, 2025 02:58
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