cargo-bins/Cargo Release PR

Create a PR for a release of a Rust/Cargo crate, using cargo-release

View on GitHub

Trust Signals

Scorecard Score
Scorecard 4–6scored Jul 6, 2026
Maintenance Recency
Activelast commit Jun 19, 2026
License
GPL 3.0
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: cargo-bins/release-pr@0c019c0e5a6b9f722578d231d43ba900cacc5ffa # v2.1.3

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

namedescriptionrequireddefault
github-tokenGitHub token to interact with the APIyes
crate-nameCrate to release, if the repo has more than oneno
crate-pathPath to the crate; defaults to resolving it from workspaceno
crate-release-allRelease all crates in the workspaceyesfalse
versionVersion to release, or one of the keywords `major`, `minor`, `patch`yes
pr-titleLiteral or template for the title of the PRyesrelease: <%= crates.length === 1 ? crates[0].name : '' %> v<%= version.actual %>
pr-labelLabel name to apply to created PRno
pr-draftCreate the release PR as Draftyesfalse
pr-modifiableAllow maintainers to modify the release PRyestrue
pr-templateTemplate for the body of the PR (mutually exclusive with `pr-template-file`)no
pr-template-fileTemplate file for the body of the PR (mutually exclusive with `pr-template`)no
pr-merge-strategyMerge strategy that should be used (`squash`, `merge`, `rebase`, `bors`)yessquash
pr-release-notesInclude a release notes section in the PR bodyyesfalse
pr-meta-commentInclude release metadata as JSON-in-comment in the PR bodyyestrue
git-user-nameName of the git user that will commit the releaseyesgithub-actions
git-user-emailEmail of the git user that will commit the releaseyesgithub-actions@github.com
check-semverRun cargo-semver-checks before committing to the releaseyesfalse
check-packageRun `cargo publish --dry-run` before committing to the releaseyesfalse
base-branchName of the PR's base branch (where it will merge). Defaults to repo's default branch.no
branch-prefixPrefix of the release branch created for the PRyesrelease
namedescription
pr-branchBranch name of the release PR
pr-urlURL to the release PR
versionThe version created for the PR