Skip to content

Commit a1b31e1

Browse files
committed
add push/check CI
1 parent c6f62d3 commit a1b31e1

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/buf-ci.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Buf CI
2+
on:
3+
push:
4+
pull_request:
5+
types: [opened, synchronize, reopened, labeled, unlabeled]
6+
delete:
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
jobs:
11+
buf:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@6b42224f41ee5dfe5395e27c8b2746f1f9955030 # v4.2.0
15+
- uses: bufbuild/buf-action@8f4a1456a0ab6a1eb80ba68e53832e6fcfacc16c # v1.3.0
16+
with:
17+
# Publishing schema changes to the BSR requires a BSR authentication token.
18+
token: ${{ secrets.BUF_TOKEN }}

0 commit comments

Comments
 (0)