Skip to content

Commit

Permalink
ci(proto): automatically publish proto files (#571)
Browse files Browse the repository at this point in the history
* ci(proto): automatically publish proto files

* chore: add changes

* ci(proto): also push to proto files on tag
  • Loading branch information
aelesbao authored May 16, 2024
1 parent 8f11848 commit 68f8e29
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/proto-registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish to Buf Schema Registry
# Protobuf runs buf (https://buf.build/) push updated proto files to https://buf.build/cosmos/cosmos-sdk
# This workflow is only run when a .proto file has been changed
on:
push:
branches: [main]
tags: [v*]
paths:
- "proto/**"

jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/buf-push-action@v1
with:
input: proto
buf_token: ${{ secrets.BUF_TOKEN }}
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Contains all the PRs that improved the code without changing the behaviors.
## [Unreleased]

### Added
- [#571](https://github.com/archway-network/archway/pull/571) - Automatically
publish proto files to buf.build

### Changed

Expand Down

0 comments on commit 68f8e29

Please sign in to comment.