Skip to content

Commit 1928ae6

Browse files
authored
Update README.md (#1009)
1 parent 3fddbee commit 1928ae6

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
@@ -99,6 +99,15 @@ See examples of using `cache` and `cache-dependency-path` for `pipenv` and `poet
9999
- [Using `setup-python` on GHES](docs/advanced-usage.md#using-setup-python-on-ghes)
100100
- [Allow pre-releases](docs/advanced-usage.md#allow-pre-releases)
101101

102+
## Recommended permissions
103+
104+
When using the `setup-python` action in your GitHub Actions workflow, it is recommended to set the following permissions to ensure proper functionality:
105+
106+
```yaml
107+
permissions:
108+
contents: read # access to check out code and install dependencies
109+
```
110+
102111
## License
103112

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

0 commit comments

Comments
 (0)