feat: add flags to the extension hooks commands (backport #4270) #102
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Protobuf Files | |
on: | |
pull_request: | |
paths: | |
- "proto/**" | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: bufbuild/[email protected] | |
- uses: bufbuild/buf-lint-action@v1 | |
with: | |
input: "proto" | |
# TODO: Uncomment after PR#3529 is merged | |
# break-check: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: bufbuild/[email protected] | |
# - uses: bufbuild/buf-breaking-action@v1 | |
# with: | |
# input: "proto" | |
# against: "https://github.com/${{ github.repository }}.git#branch=${{ github.event.pull_request.base.ref }},ref=HEAD~1,subdir=proto" |