From 8e5c05a67c80f3cfc400e64a27841ef5fc89dcba Mon Sep 17 00:00:00 2001 From: Ben Wells Date: Thu, 16 Jan 2025 09:29:22 -0500 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index bbe7e00..2db0d07 100644 --- a/README.md +++ b/README.md @@ -308,6 +308,15 @@ build: cache: true ``` +## Recommended permissions + +When using the `setup-dotnet` 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)