catalystcommunity/protoc-go-inject-tag
Uses [protoc-go-inject-tag](https://github.com/favadi/protoc-go-inject-tag) to inject struct tags into go structs generated by protoc
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Aug 5, 2024
- License
- Apache 2.0
Pinned Snippet
uses: catalystcommunity/action-protoc-go-inject-tag@7d1cad26d50c192a692c98d6704037e283d7aa12 # v1.0.4tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| go-version | Version of golang to use | no | ~1.18 |
| working-directory | Directory to run the command from | no | . |
| protoc-go-inject-tag-version | Version of protoc-go-inject-tag to use | no | v1.4.0 |
| files | Comma separated list of file paths to run protoc-go-inject-tag on | no | *.pb.go |
| commit | If true, will commit the modified files | no | true |
| commit-message | commit message to use when pushing generated code | no | chore: injected tags into go structs |
| 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 }} |
| token | Git token to use | no | ${{ github.token }} |
Outputs
no outputs