Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: update buf-action (#16210)

p0ny1e3da90671c1
diff --git a/.github/workflows/proto-linter.yml b/.github/workflows/proto-linter.yml
index b5179f6410..75f40a360e 100644
--- a/.github/workflows/proto-linter.yml
+++ b/.github/workflows/proto-linter.yml
@@ -8,6 +8,10 @@ on:
paths:
- 'proto/**'
+permissions:
+ contents: read
+ pull-requests: write
+
jobs:
lint-protos:
runs-on: ubuntu-latest
@@ -16,15 +20,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- - name: Setup buf
- uses: bufbuild/buf-setup-action@v1
- - name: buf lint
- uses: bufbuild/buf-lint-action@v1
+ - name: buf
+ uses: bufbuild/buf-action@v1
with:
input: "proto"
- - name: buf format
- run: |
- if [[ $(buf format -d) ]]; then
- echo "Run 'buf format -w'"
- exit 1
- fi