mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2025-11-28 02:01:58 +02:00
[readme] mention write:repository requirement for token
Closes #42 Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
e5e095057a
commit
596a237a36
1 changed files with 1 additions and 1 deletions
|
|
@ -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 }}` |
|
| `tag` | <p>Tag of the release</p> | `false` | `${{ github.ref_name }}` |
|
||||||
| `title` | <p>Title of the release (defaults to tag)</p> | `false` | `""` |
|
| `title` | <p>Title of the release (defaults to tag)</p> | `false` | `""` |
|
||||||
| `sha` | <p>SHA of the release</p> | `false` | `${{ github.sha }}` |
|
| `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-dir` | <p>Directory in whichs release assets are uploaded or downloaded</p> | `true` | `""` |
|
||||||
| `release-notes` | <p>Release notes</p> | `false` | `""` |
|
| `release-notes` | <p>Release notes</p> | `false` | `""` |
|
||||||
| `direction` | <p>Can either be <code>download</code> or <code>upload</code></p> | `true` | `""` |
|
| `direction` | <p>Can either be <code>download</code> or <code>upload</code></p> | `true` | `""` |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue