jamesonstone/Mint
Build and run the Mint CLI in a GitHub Actions workflow.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 7, 2026
- License
- None
Pinned Snippet
uses: jamesonstone/mint@fb03ee0439aca64dc70b4ea5d8b4e3997ae4851c # v0.2.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| command | Mint command to run after the CLI is built. Supported values: version, help, changelog, release-resolve, release-select-tag, release-tag, github-release, release-publish, none. | no | version |
| go-version | Go version used to build the Mint CLI from the action source. | no | 1.25.5 |
| prev-tag | Previous Git tag or ref for changelog generation; empty for first release. | no | "" |
| current-tag | Current release tag rendered by changelog generation. | no | "" |
| current-ref | Optional Git ref used as the changelog range end when current-tag does not exist yet. | no | "" |
| owner | GitHub repository owner used for changelog links. | no | "" |
| repo | GitHub repository name used for changelog links. | no | "" |
| output | Changelog output path used by command changelog. | no | CHANGELOG.md |
| commitish | Git ref used by command release-resolve or release-select-tag. | no | HEAD |
| requested-tag | Optional strict vX.Y.Z SemVer tag used by command release-select-tag. | no | "" |
| release-tag | Strict vX.Y.Z SemVer tag used by command release-tag or github-release. | no | "" |
| target-sha | Commitish where GitHub should create the release tag when missing. | no | "" |
| release-title | Release title used by command github-release; defaults to release-tag. | no | "" |
| release-notes-file | Optional release notes file used by command release-tag or github-release. | no | "" |
| release-remote | Git remote used by command release-tag or release-publish. | no | origin |
| release-push | Whether command release-tag or release-publish should push a newly created tag. | no | true |
| github-token | GitHub token used by command github-release or release-publish. | no | "" |
| github-api-url | GitHub API base URL used by command github-release. | no | https://api.github.com |
| version-file | Version file path written by command release-publish. | no | .version |
Outputs
| name | description |
|---|---|
| mint-path | Absolute path to the built Mint CLI on the runner. |
| output | Captured stdout from the selected Mint command. |
| version_tag | Selected or resolved SemVer release tag. |
| version_bump | Selected release bump from command release-resolve. |
| base_tag | Reachable base SemVer tag from command release-resolve. |
| target_sha | Full target commit SHA from release commands that inspect a commitish. |
| short_sha | Twelve-character target commit SHA from release commands that inspect a commitish. |
| tag_source | Whether command release-select-tag used a requested tag or a tag pointing at the commit. |
| needs_git_tag | Whether a new Git SemVer tag should be created by the caller. |
| commit_count | Number of commits evaluated by command release-resolve. |
| release_notes | Lightweight release notes from command release-resolve. |
| release_tag | GitHub Release tag from command github-release or release-publish. |
| release_url | GitHub Release URL from command github-release or release-publish. |
| release_created | Whether command github-release or release-publish created a new GitHub Release. |
| tag_name | Git tag name from command release-tag or release-publish. |
| tag_target_sha | Git tag target SHA from command release-tag or release-publish. |
| tag_created | Whether command release-tag or release-publish created a new Git tag. |
| tag_reused | Whether command release-tag or release-publish reused an existing Git tag. |
| tag_pushed | Whether command release-tag or release-publish pushed a newly created Git tag. |