[readme] mention write:repository requirement for token (#102)

Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/102
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: crueter <crueter@eden-emu.dev>
Co-committed-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter 2026-01-08 14:42:40 +00:00 committed by Michael Kriese
parent a68e637ef7
commit 0c669250ec
No known key found for this signature in database
GPG key ID: F128CBE6AB3A7201

View file

@ -15,7 +15,7 @@ Upload or download the assets of a release to a Forgejo instance.
| `tag` | <p>Tag of the release</p> | `false` | `${{ github.ref_name }}` |
| `title` | <p>Title of the release (defaults to tag)</p> | `false` | `""` |
| `sha` | <p>SHA of the release</p> | `false` | `${{ github.sha }}` |
| `token` | <p>Forgejo application token</p> | `false` | `${{ secrets.GITHUB_TOKEN }}` |
| `token` | <p>Forgejo application token (must have `write:repository`)</p> | `false` | `${{ secrets.GITHUB_TOKEN }}` |
| `release-dir` | <p>Directory in whichs release assets are uploaded or downloaded</p> | `true` | `""` |
| `release-notes` | <p>Release notes</p> | `false` | `""` |
| `direction` | <p>Can either be <code>download</code> or <code>upload</code></p> | `true` | `""` |