From eed453b61364a371e480c7cb32eac4c055ade4f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Rami=CC=81rez=20Mondrago=CC=81n?= Date: Tue, 11 Apr 2023 00:05:14 -0600 Subject: [PATCH] Document usage with granular permissions --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 7cdb56b..4eea13d 100644 --- a/README.md +++ b/README.md @@ -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