diff --git a/README.md b/README.md index 9843ee21..0c554898 100644 --- a/README.md +++ b/README.md @@ -204,6 +204,15 @@ If the runner is not able to access github.com, any Nodejs versions requested du - [Publishing to npmjs and GPR with yarn](docs/advanced-usage.md#publish-to-npmjs-and-gpr-with-yarn) - [Using private packages](docs/advanced-usage.md#use-private-packages) +## Recommended permissions + +When using the `setup-node` action in your GitHub Actions workflow, it is recommended to set the following permissions to ensure proper functionality: + +```yaml +permissions: + contents: read # access to check out code and install dependencies +``` + ## License The scripts and documentation in this project are released under the [MIT License](LICENSE)