feat: add role-based access control for bridge (backport #1358) #1359
Workflow file for this run
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: Protobuf | |
# Protobuf runs buf (https://buf.build/) lint and check-breakage | |
# This workflow is only run when a .proto file has been changed | |
on: | |
pull_request: | |
paths: | |
- "**.proto" | |
jobs: | |
lint: | |
name: proto-lint(clang-format) | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: DoozyX/[email protected] | |
with: | |
source: '.' | |
exclude: './third_party' | |
extensions: 'proto' | |
clangFormatVersion: 12 | |
inplace: True | |
swagger: | |
name: check generated swagger files | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
go-version: '1.20' | |
- uses: ./.github/actions/generate-swagger | |
- name: diff | |
run: git diff | |
# TODO ebony: release comment after merging initial proto files to v2 branch | |
# breakage: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@master | |
# - name: check-breakage | |
# run: make proto-check-breaking |