Skip to content

admin endpoint for listing and revoking tokens #669

admin endpoint for listing and revoking tokens

admin endpoint for listing and revoking tokens #669

Workflow file for this run

name: API Spec Changes
on:
push:
branches:
- master
paths:
- "api-spec/**"
pull_request:
branches:
- '*'
paths:
- "api-spec/**"
jobs:
verify-proto:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup Buf
uses: bufbuild/buf-setup-action@a47c93e0b1648d5651a065437926377d060baa99 # v1.50.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Check proto linting
run: buf lint
- name: Check for breaking changes
if: github.event_name == 'pull_request'
run: |
# Compare against the target branch (usually master)
buf breaking --against "https://github.com/${{ github.repository }}.git#branch=${{ github.base_ref }},subdir=api-spec/protobuf"