catalystcommunity/Action Buf
Runs buf commmands to lint and generate protos
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Apr 26, 2026
- License
- Apache 2.0
Pinned Snippet
uses: catalystcommunity/action-buf@9aa7be74985ed3eb381d643356df9a9b8f5f2be4 # v2.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| working-directory | Working directory for the buf command | no | ${{ github.workspace }} |
| buf-user | Buf user | yes | — |
| buf-token | Buf token | yes | — |
| token | Git token to use | no | ${{ github.token }} |
| push-dir | Subdirectory to use with buf push | no | . |
| checkout | set to true to checkout the repository, set to false if you are checking out the repository before using this action | no | true |
| ref | Ref to checkout | no | ${{ github.head_ref }} |
| lint | Run `buf lint` | no | true |
| generate | Run `buf generate` | no | true |
| breaking | Run `buf breaking` | no | true |
| breaking-against | The against parameter for the buf breaking command | no | https://github.com/${GITHUB_REPOSITORY}.git#branch=main |
| mod-prune | Run `buf mod prune` | no | true |
| mod-update | Run `buf mod update` | no | true |
| registry-login | Run `buf registry login` | no | true |
| push | Run `buf push` | no | false |
| commit | enables whether the action will commit and push at the end | no | true |
| commit-message | commit message to use when pushing generated code | no | chore: buf generated code from protos |
Outputs
no outputs