3
0
Fork 0
mirror of https://gitea.com/actions/setup-python.git synced 2025-01-18 16:54:44 +01:00

Update README.md (#1009)

This commit is contained in:
Ben Wells 2025-01-16 09:50:08 -05:00 committed by GitHub
parent 3fddbee787
commit 1928ae624d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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