Skip to content

[wip]

[wip] #110

name: Preview Builds
on:
pull_request:
types:
- opened
- synchronize
- reopened
- closed
jobs:
preview:
if: github.event.action != 'closed'
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Run preview builds
uses: stainless-api/upload-openapi-spec-action/preview@v1
with:
stainless_api_key: ${{ secrets.STAINLESS_API_KEY }}
org: togetherai
project: togetherai
oas_path: openapi.yaml