catalystcommunity/Action Buf

Runs buf commmands to lint and generate protos

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 26, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: catalystcommunity/action-buf@9aa7be74985ed3eb381d643356df9a9b8f5f2be4 # v2.0.0

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

namedescriptionrequireddefault
working-directoryWorking directory for the buf commandno${{ github.workspace }}
buf-userBuf useryes
buf-tokenBuf tokenyes
tokenGit token to useno${{ github.token }}
push-dirSubdirectory to use with buf pushno.
checkoutset to true to checkout the repository, set to false if you are checking out the repository before using this actionnotrue
refRef to checkoutno${{ github.head_ref }}
lintRun `buf lint`notrue
generateRun `buf generate`notrue
breakingRun `buf breaking`notrue
breaking-againstThe against parameter for the buf breaking commandnohttps://github.com/${GITHUB_REPOSITORY}.git#branch=main
mod-pruneRun `buf mod prune`notrue
mod-updateRun `buf mod update`notrue
registry-loginRun `buf registry login`notrue
pushRun `buf push`nofalse
commitenables whether the action will commit and push at the endnotrue
commit-messagecommit message to use when pushing generated codenochore: buf generated code from protos

no outputs