Skip to content

Commit a801399

Browse files
authored
Specify required permissions in README (softprops#164)
1 parent 6034af2 commit a801399

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,15 @@ The following `step.env` keys are allowed as a fallback but deprecated in favor
208208

209209
> **⚠️ Note:** This action was previously implemented as a Docker container, limiting its use to GitHub Actions Linux virtual environments only. With recent releases, we now support cross platform usage. You'll need to remove the `docker://` prefix in these versions
210210

211+
### Permissions
212+
213+
This Action requires the following permissions on the GitHub integration token:
214+
215+
```yaml
216+
permissions:
217+
contents: write
218+
```
219+
220+
[GitHub token permissions](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token) can be set for an individual job, workflow, or for Actions as a whole.
221+
211222
Doug Tangren (softprops) 2019

0 commit comments

Comments
 (0)