meshtastic-protobuf/.github/workflows/pull_request.yml

24 wiersze
532 B
YAML
Czysty Zwykły widok Historia

name: pull-request
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Buf
uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ github.token }}
- name: Lint
uses: bufbuild/buf-lint-action@v1
- name: Push to schema registry
uses: bufbuild/buf-push-action@v1
with:
buf_token: ${{ secrets.BUF_TOKEN }}
draft: ${{ github.ref_name != 'master'}}