mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
parent
0fb2f84714
commit
82f6b6083f
7 changed files with 37 additions and 40 deletions
12
.github/workflows/pull_request.yml
vendored
12
.github/workflows/pull_request.yml
vendored
|
|
@ -1,4 +1,8 @@
|
|||
name: pull-request
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on: pull_request
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -6,18 +10,18 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Buf
|
||||
uses: bufbuild/buf-setup-action@v1
|
||||
uses: bufbuild/buf-setup-action@v1.26.1
|
||||
with:
|
||||
github_token: ${{ github.token }}
|
||||
|
||||
- name: Lint
|
||||
uses: bufbuild/buf-lint-action@v1
|
||||
uses: bufbuild/buf-lint-action@v1.0.3
|
||||
|
||||
- name: Push to schema registry
|
||||
uses: bufbuild/buf-push-action@v1
|
||||
uses: bufbuild/buf-push-action@v1.1.1
|
||||
with:
|
||||
buf_token: ${{ secrets.BUF_TOKEN }}
|
||||
draft: ${{ github.ref_name != 'master'}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue