mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-10 18:44:19 +00:00
Update README.md
Add permissions needed for creating a linked discussion.
This commit is contained in:
parent
fe9a9bd329
commit
247e28d96a
1 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue