Document usage with granular permissions

This commit is contained in:
Edgar Ramírez Mondragón 2023-04-11 00:05:14 -06:00
parent 7319e4733e
commit eed453b613
No known key found for this signature in database
GPG Key ID: AE3BCE8D0997B0EB

View File

@ -206,6 +206,15 @@ jobs:
```
### Permissions
This actions requires writes access to the release. If you are using [granular permissions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions)
in your workflow, you will need to add the `contents: write` permission to the token:
```yaml
permissions:
contents: write
```
## Releasing