Skip to content

Commit 1928ae6

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

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy