feat: add taxonomy schema migration #251
Workflow file for this run
This file contains hidden or 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: Build SDKs for pull request | |
| env: | |
| OAS_PATH: ./openapi.yaml | |
| STAINLESS_ORG: formbricks | |
| STAINLESS_PROJECT: hub | |
| # Stainless v1.13.2 still declares node20; force Node 24 now so CI catches incompatibilities early. | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| - closed | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| preview: | |
| if: github.event.action != 'closed' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| id-token: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 2 | |
| - name: Run preview builds | |
| uses: stainless-api/upload-openapi-spec-action/preview@0908d431428c675af1d590f1c6e49146cd5c4c2e # v1.13.2 | |
| with: | |
| org: ${{ env.STAINLESS_ORG }} | |
| project: ${{ env.STAINLESS_PROJECT }} | |
| oas_path: ${{ env.OAS_PATH }} | |
| merge: | |
| if: github.event.action == 'closed' && github.event.pull_request.merged == true | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| id-token: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 2 | |
| - name: Run merge build | |
| uses: stainless-api/upload-openapi-spec-action/merge@0908d431428c675af1d590f1c6e49146cd5c4c2e # v1.13.2 | |
| with: | |
| org: ${{ env.STAINLESS_ORG }} | |
| project: ${{ env.STAINLESS_PROJECT }} | |
| oas_path: ${{ env.OAS_PATH }} |