kopia lustrzana https://github.com/meshtastic/protobufs
28 wiersze
547 B
YAML
28 wiersze
547 B
YAML
name: Push commit to schema registry
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
push_to_registry:
|
|
name: Push to schema registry
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Buf
|
|
uses: bufbuild/buf-setup-action@v1.30.0
|
|
with:
|
|
github_token: ${{ github.token }}
|
|
|
|
- name: Push to schema registry
|
|
uses: bufbuild/buf-push-action@v1.2.0
|
|
with:
|
|
buf_token: ${{ secrets.BUF_TOKEN }}
|