Move googlecloudplatform/bq-schema-api
to semver sync strategy
#471
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: Buf CI | |
on: | |
push: | |
paths: | |
- 'buf.yaml' | |
- 'buf.lock' | |
- 'proto/README.md' | |
- 'proto/LICENSE' | |
- 'proto/**.proto' | |
- '.github/workflows/buf-ci.yaml' | |
pull_request: | |
types: [opened, synchronize, reopened, labeled, unlabeled] | |
delete: | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
buf: | |
# Ignore PRs from the 'fetch.yaml' action. Keep this branch name synced there. | |
if: ${{ github.event_name != 'pull_request' || github.head_ref != 'fetch-modules' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: bufbuild/buf-action@v1 | |
with: | |
token: ${{ secrets.BUF_TOKEN }} |