fix(docs): Buf cli is required (#85) #57
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: push | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- openfga/**/*.proto | |
- buf.md | |
- buf.lock | |
- README.md | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
push: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: bufbuild/buf-setup-action@v1 | |
with: | |
version: "1.15.1" | |
- uses: bufbuild/buf-push-action@v1 | |
with: | |
buf_token: ${{ secrets.BUF_TOKEN }} | |
- name: Send PagerDuty alert on failure | |
if: ${{ failure() }} | |
uses: miparnisari/[email protected] | |
with: | |
pagerduty-integration-key: ${{ secrets.PAGERDUTY_INTEGRATION_KEY }} | |
incident-summary: "Problem pushing OpenFGA Buf module to Buf Registry" |