Skip to content

Commit 50195ba

Browse files
authored
Update README.md (#234)
Add permissions needed for creating a linked discussion.
1 parent fe9a9bd commit 50195ba

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,14 @@ permissions:
222222
contents: write
223223
```
224224

225+
When used with `discussion_category_name`, additional permission is needed:
226+
227+
```yaml
228+
permissions:
229+
contents: write
230+
discussions: write
231+
```
232+
225233
[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.
226234

227235
Doug Tangren (softprops) 2019

0 commit comments

Comments
 (0)