Skip to content

feat: add role-based access control for bridge #373

feat: add role-based access control for bridge

feat: add role-based access control for bridge #373

Workflow file for this run

# Verify that generated code is up-to-date.
name: Check generated code
on:
workflow_dispatch:
pull_request:
branches:
- '*'
permissions:
contents: read
jobs:
check-error-doc:
runs-on: ubuntu-latest
steps:
- name: Setup Golang
uses: actions/setup-go@v5
with:
go-version: '1.20'
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Check generated error docs
run: |
make error-doc-gen
if ! git diff --stat --exit-code ; then
echo ">> ERROR:"
echo ">>"
echo ">> Error documents require update (source files in x folder may have changed)."
echo ">> Ensure your tools are up-to-date, re-run 'make error-doc' and update this PR."
echo ">>"
exit 1
fi