| tag | Tag name for the release. This can be an existing tag or a new one. | yes | ${{ github.ref_name }} |
| target-commitish | Commit SHA or branch to tag. Defaults to the repository's default branch (usually `master`) | no | ${{ github.sha }} |
| name | Name for the release. Auto-generated if `generate-release-notes` is set | no | — |
| body | Body content for the release. Auto-generated if `generate-release-notes` is set | no | — |
| body-file | File path of the body content to be included in the release | no | — |
| generate-release-notes | Automatically generate release notes. Set to `true` to generate release notes from the latest release. Valid values: `true`, `false` or tag | yes | true |
| prerelease | Mark release as prerelease | no | false |
| files | Files to attach to the release. One file per line | no | — |
| discussion-category | Github Discussion category | no | — |
| dry-run | Dry run | no | false |
| token | Github Token | yes | ${{ github.token }} |