Skip to content

Commit

Permalink
imp (proto): add GH action to push Protobuf files to the Buf Schema R…
Browse files Browse the repository at this point in the history
…egistry (#1312)

* add GH action to push protos to BSR

* push only when release tags are created

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

---------

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
  • Loading branch information
MalteHerrmann and fedekunze committed Feb 1, 2023
1 parent 53f4783 commit 9cf3d75
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/bsr-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Push to Buf Schema Registry
# This workflow runs when changes to proto files are pushed to main
# and then pushes these changes on to the Buf Schema Registry at
# https://buf.build/evmos/evmos
on:
push:
tags:
- "v*.*.*"
paths:
- "proto/**"

jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.13.1
# Push Evmos protos to the Buf Schema Registry
- uses: bufbuild/buf-push-action@v1.13.1
with:
buf_token: ${{ secrets.BUF_TOKEN }}

0 comments on commit 9cf3d75

Please sign in to comment.