Make admin_key repeated max count 1, for future expansion #409
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: pull-request | |
permissions: | |
contents: read | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Buf | |
uses: bufbuild/[email protected] | |
with: | |
github_token: ${{ github.token }} | |
- name: Lint | |
uses: bufbuild/[email protected] | |
- name: Push to schema registry | |
uses: bufbuild/[email protected] | |
if: ${{ github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }} | |
with: | |
buf_token: ${{ secrets.BUF_TOKEN }} | |
draft: ${{ github.ref_name != 'master'}} |