Add subscription docs #2159
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: Test DX assertions | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
test-dx-assertions: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Docs Assertion Tester | |
id: docs_test | |
uses: hasura/[email protected] | |
with: | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
GITHUB_TOKEN: ${{ secrets.DOCS_GITHUB_TOKEN }} | |
GITHUB_ORG: ${{ github.repository_owner }} | |
GITHUB_REPOSITORY: ${{ github.repository }} | |
PR_NUMBER: ${{ github.event.number }} | |
- name: Add comment | |
uses: hasura/[email protected] | |
with: | |
github-token: ${{secrets.DOCS_GITHUB_TOKEN}} | |
repository: ${{ github.repository }} | |
number: ${{ github.event.number }} | |
id: dx_analysis | |
message: ${{ steps.docs_test.outputs.analysis }} |