mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 14:51:44 +00:00
19 lines
636 B
YAML
19 lines
636 B
YAML
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
paths:
|
|
- '*.proto'
|
|
jobs:
|
|
validate-protos:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# Run `git checkout`
|
|
- uses: actions/checkout@v2
|
|
# Install the `buf` CLI
|
|
- uses: bufbuild/buf-setup-action@517ee23296d5caf38df31c21945e6a54bbc8a89f # SECURITY: pin third-party action hashes
|
|
# Run breaking change detection against the `main` branch
|
|
- uses: bufbuild/buf-breaking-action@a074e988ee34efcd4927079e79c611f428354c01 # SECURITY: pin third-party action hashes
|
|
with:
|
|
against: 'https://github.com/sourcegraph/sourcegraph.git#branch=main'
|