jamesonstone/Mint

Build and run the Mint CLI in a GitHub Actions workflow.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 7, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: jamesonstone/mint@fb03ee0439aca64dc70b4ea5d8b4e3997ae4851c # v0.2.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
commandMint 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.noversion
go-versionGo version used to build the Mint CLI from the action source.no1.25.5
prev-tagPrevious Git tag or ref for changelog generation; empty for first release.no""
current-tagCurrent release tag rendered by changelog generation.no""
current-refOptional Git ref used as the changelog range end when current-tag does not exist yet.no""
ownerGitHub repository owner used for changelog links.no""
repoGitHub repository name used for changelog links.no""
outputChangelog output path used by command changelog.noCHANGELOG.md
commitishGit ref used by command release-resolve or release-select-tag.noHEAD
requested-tagOptional strict vX.Y.Z SemVer tag used by command release-select-tag.no""
release-tagStrict vX.Y.Z SemVer tag used by command release-tag or github-release.no""
target-shaCommitish where GitHub should create the release tag when missing.no""
release-titleRelease title used by command github-release; defaults to release-tag.no""
release-notes-fileOptional release notes file used by command release-tag or github-release.no""
release-remoteGit remote used by command release-tag or release-publish.noorigin
release-pushWhether command release-tag or release-publish should push a newly created tag.notrue
github-tokenGitHub token used by command github-release or release-publish.no""
github-api-urlGitHub API base URL used by command github-release.nohttps://api.github.com
version-fileVersion file path written by command release-publish.no.version
namedescription
mint-pathAbsolute path to the built Mint CLI on the runner.
outputCaptured stdout from the selected Mint command.
version_tagSelected or resolved SemVer release tag.
version_bumpSelected release bump from command release-resolve.
base_tagReachable base SemVer tag from command release-resolve.
target_shaFull target commit SHA from release commands that inspect a commitish.
short_shaTwelve-character target commit SHA from release commands that inspect a commitish.
tag_sourceWhether command release-select-tag used a requested tag or a tag pointing at the commit.
needs_git_tagWhether a new Git SemVer tag should be created by the caller.
commit_countNumber of commits evaluated by command release-resolve.
release_notesLightweight release notes from command release-resolve.
release_tagGitHub Release tag from command github-release or release-publish.
release_urlGitHub Release URL from command github-release or release-publish.
release_createdWhether command github-release or release-publish created a new GitHub Release.
tag_nameGit tag name from command release-tag or release-publish.
tag_target_shaGit tag target SHA from command release-tag or release-publish.
tag_createdWhether command release-tag or release-publish created a new Git tag.
tag_reusedWhether command release-tag or release-publish reused an existing Git tag.
tag_pushedWhether command release-tag or release-publish pushed a newly created Git tag.