Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1928ae6

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

File tree

Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+9Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.