fix: correct position of context in assertion (#196) #92
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@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 | |
with: | |
fetch-depth: 0 | |
- uses: bufbuild/buf-setup-action@35c243d7f2a909b1d4e40399b348a7fdab27d78d # v1.34.0 | |
- uses: bufbuild/buf-push-action@a654ff18effe4641ebea4a4ce242c49800728459 # v1.2.0 | |
with: | |
buf_token: ${{ secrets.BUF_TOKEN }} | |
- name: Send PagerDuty alert on failure | |
if: ${{ failure() }} | |
uses: miparnisari/action-pagerduty-alert@a6a738b712efa0e1a45b1b796c62f60fc30b5d99 # v0.3.2 | |
with: | |
pagerduty-integration-key: ${{ secrets.PAGERDUTY_INTEGRATION_KEY }} | |
incident-summary: "Problem pushing OpenFGA Buf module to Buf Registry" |