shogo82148/Yet Another Create Release Action
Create a release for a tag in your repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | The API token for GitHub | yes | ${{ github.token }} |
| tag_name | The name of the tag. This should come from the webhook payload, `github.GITHUB_REF` when a user pushes a new tag | no | — |
| release_name | The name of the release. For example, `Release v1.0.1` | no | — |
| body | Text describing the contents of the tag. | no | "" |
| body_path | Path to file with information about the tag. | no | "" |
| draft | `true` to create a draft (unpublished) release, `false` to create a published one. Default: `false` | no | false |
| prerelease | `true` to identify the release as a prerelease. `false` to identify the release as a full release. Default: `false` | no | false |
| make_latest | Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version. | no | "" |
| commitish | Any branch or commit SHA the Git tag is created from, unused if the Git tag already exists. Default: SHA of current commit | no | ${{ github.sha }} |
| owner | Owner of the repository if it is not the current one | no | — |
| repo | Repository on which to release. Used only if you want to create the release on another repo | no | — |
| discussion_category_name | If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. | no | — |
| generate_release_notes | Whether to automatically generate the name and body for this release. | no | false |
| notes_start_tag | The start tag for release notes generation. | no | — |
| overwrite | Whether to overwrite the release if it already exists. | no | false |
Outputs
| name | description |
|---|---|
| id | The ID of the created Release |
| html_url | The URL users can navigate to in order to view the release |
| upload_url | The URL for uploading assets to the release |