Merge pull request #98 from edgarrmondragon/document-granular-permissions

Document usage with granular permissions
This commit is contained in:
Sven-Hendrik Haase 2023-04-11 08:47:18 +02:00 committed by GitHub
commit 580065490f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ## Releasing