Skip to content

Commit f9d0f62

Browse files
authored
Update README.md (#587)
1 parent 87b7050 commit f9d0f62

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
@@ -308,6 +308,15 @@ build:
308308
cache: true
309309
```
310310

311+
## Recommended permissions
312+
313+
When using the `setup-dotnet` action in your GitHub Actions workflow, it is recommended to set the following permissions to ensure proper functionality:
314+
315+
```yaml
316+
permissions:
317+
contents: read # access to check out code and install dependencies
318+
```
319+
311320
## License
312321

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

0 commit comments

Comments
 (0)