Skip to content

Commit fbeca22

Browse files
authored
Update README.md (#1193)
1 parent 48b9067 commit fbeca22

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,15 @@ If the runner is not able to access github.com, any Nodejs versions requested du
204204
- [Publishing to npmjs and GPR with yarn](docs/advanced-usage.md#publish-to-npmjs-and-gpr-with-yarn)
205205
- [Using private packages](docs/advanced-usage.md#use-private-packages)
206206

207+
## Recommended permissions
208+
209+
When using the `setup-node` action in your GitHub Actions workflow, it is recommended to set the following permissions to ensure proper functionality:
210+
211+
```yaml
212+
permissions:
213+
contents: read # access to check out code and install dependencies
214+
```
215+
207216
## License
208217

209218
The scripts and documentation in this project are released under the [MIT License](LICENSE)

0 commit comments

Comments
 (0)