Skip to content

Commit b854e89

Browse files
authored
Add clarification regarding contents permissions
1 parent 1e49097 commit b854e89

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ permissions:
220220
contents: write
221221
```
222222

223+
By default, these permissions are granted on `push` but not on `pr` - and you should be wary of adding them, as they allow [wide access to changing the entire repo's contents](https://docs.github.com/en/rest/authentication/permissions-required-for-github-apps?apiVersion=2022-11-28#repository-permissions-for-contents)
224+
223225
## Releasing
224226

225227
To release this Action:

0 commit comments

Comments
 (0)