From a3f2122221f8725f85acd32de19d14bd02b9e031 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Sun, 11 Feb 2024 17:11:45 +0100 Subject: [PATCH] docs: add clarification about token permissions --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d3844ca..6c3cef3 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ **github-generate-release** is the simplest way to create a GitHub Release. +It needs a GitHub token with `public_repo` permission, exposed as `GH_TOKEN` or `GITHUB_TOKEN` (see [example](https://github.com/Kikobeats/github-generate-release/blob/5a9db649b79ed0bb01194413e1dcc4818e82d155/.github/workflows/main.yml#L63)). + Just call it and it will release the latest git tag created: ```sh