Skip to content

Commit

Permalink
Update README.md (#234)
Browse files Browse the repository at this point in the history
Add permissions needed for creating a linked discussion.
  • Loading branch information
briantist authored May 23, 2022
1 parent fe9a9bd commit 50195ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,14 @@ permissions:
contents: write
```

When used with `discussion_category_name`, additional permission is needed:

```yaml
permissions:
contents: write
discussions: write
```

[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.

Doug Tangren (softprops) 2019

0 comments on commit 50195ba

Please sign in to comment.