keyrockpartners/Persistent Build Number

Allocate stable build numbers per key using a JSON file stored on a branch in the current repository.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 6, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: keyrockpartners/bump-build-number@acd394c7966f59fc768f4c3b5ee64c682a9ca90b # v1

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

namedescriptionrequireddefault
keyStable key to look up, such as a commit SHA, tag, or release identifier. If the key already exists, its existing build number is returned.yes
branchBranch used to store the build-number JSON file.nobuild-numbers
filePath to the JSON file on the storage branch.nobuild-numbers.json
github-tokenToken with contents:write permission for this repository.yes${{ github.token }}
committer-nameName used for commits to the storage branch.nogithub-actions[bot]
committer-emailEmail used for commits to the storage branch.no41898282+github-actions[bot]@users.noreply.github.com
max-attemptsMaximum push-retry attempts when concurrent jobs update the branch.no10
namedescription
build-numberThe existing or newly allocated build number for the key.
numberAlias for build-number.
existedtrue if the key already existed; false if this run allocated it.