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

28 wiersze
577 B
YAML
Czysty Zwykły widok Historia

name: pull-request
permissions:
contents: read
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Buf
2024-03-29 09:20:16 +00:00
uses: bufbuild/buf-setup-action@v1.30.0
with:
github_token: ${{ github.token }}
- name: Lint
2024-03-29 09:20:16 +00:00
uses: bufbuild/buf-lint-action@v1.1.1
- name: Push to schema registry
2024-03-29 09:20:16 +00:00
uses: bufbuild/buf-push-action@v1.2.0
with:
buf_token: ${{ secrets.BUF_TOKEN }}
draft: ${{ github.ref_name != 'master'}}