Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. ๐ซ Status page with uptime monitoring & API monitoring as code ๐ซ openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
1.1 kB ยท 49 lines
YAML
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950name: Push API Schema to BSRon: push: branches: - "main" paths: - "packages/proto/api/**" workflow_dispatch:
permissions: contents: read
concurrency: group: buf-push cancel-in-progress: false
jobs: buf-push: name: ๐ Push api module to the BSR runs-on: ubuntu-latest timeout-minutes: 5 steps: - name: โฌ๏ธ Checkout repo uses: actions/checkout@v6 with: # --git-metadata derives labels from the tags/branches pointing at HEAD fetch-depth: 0
- name: Set up pnpm uses: pnpm/action-setup@v6
- name: โ Setup node uses: actions/setup-node@v6 with: node-version: 24.12.0 cache: "pnpm"
- name: ๐ฅ Download deps run: pnpm install
- name: ๐งน Lint api protos working-directory: ./packages/proto run: pnpm buf:lint:api
- name: ๐ Push to BSR working-directory: ./packages/proto env: BUF_TOKEN: ${{ secrets.BUF_TOKEN }} run: pnpm exec buf push api --git-metadata