From 0c669250ec33bd947e5519ad4f717045f3c03227 Mon Sep 17 00:00:00 2001 From: crueter Date: Thu, 8 Jan 2026 14:42:40 +0000 Subject: [PATCH] [readme] mention write:repository requirement for token (#102) Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/102 Reviewed-by: Michael Kriese Co-authored-by: crueter Co-committed-by: crueter --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0758032..f00e8bc 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Upload or download the assets of a release to a Forgejo instance. | `tag` |

Tag of the release

| `false` | `${{ github.ref_name }}` | | `title` |

Title of the release (defaults to tag)

| `false` | `""` | | `sha` |

SHA of the release

| `false` | `${{ github.sha }}` | -| `token` |

Forgejo application token

| `false` | `${{ secrets.GITHUB_TOKEN }}` | +| `token` |

Forgejo application token (must have `write:repository`)

| `false` | `${{ secrets.GITHUB_TOKEN }}` | | `release-dir` |

Directory in whichs release assets are uploaded or downloaded

| `true` | `""` | | `release-notes` |

Release notes

| `false` | `""` | | `direction` |

Can either be download or upload

| `true` | `""` |