ci(lint): make tolerant of deprecations #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# name: Buf Push | |
# 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: | |
# tags: | |
# - "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10 | |
# - "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+" # Push events to matching v*-rc*, i.e. v1.0-rc1, v20.15.10-rc2 | |
# - "v[0-9]+.[0-9]+.[0-9]+-beta[0-9]+" # Push events to matching v*-beta*, i.e. v1.0-beta1, v20.15.10-beta2 | |
# - "v[0-9]+.[0-9]+.[0-9]+-alpha[0-9]+" # Push events to matching v*-alpha*, i.e. v1.0-alpha1, v20.15.10-alpha2 | |
# paths: | |
# - "proto/**" | |
# jobs: | |
# root: | |
# runs-on: ubuntu-latest | |
# name: "Push to buf.build/cosmos/cosmos-sdk" | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: bufbuild/[email protected] | |
# - run: buf push proto --tag ${{ github.ref_type == 'tag' && github.ref_name || github.sha }} # https://github.com/bufbuild/buf-push-action/issues/20 | |
## TODO at each module tag to their own buf repository |