Update README.md (#234)
Add permissions needed for creating a linked discussion.
This commit is contained in:
parent
fe9a9bd329
commit
50195ba7f6
@ -222,6 +222,14 @@ permissions:
|
|||||||
contents: write
|
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.
|
[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
|
Doug Tangren (softprops) 2019
|
||||||
|
Loading…
x
Reference in New Issue
Block a user