Skip to content

Generate

Generate #426

name: Generate
permissions:
checks: write
contents: write
pull-requests: write
statuses: write
on:
workflow_dispatch:
inputs:
force:
description: "Force the generation of the SDKs"
type: boolean
default: false
schedule:
- cron: 0 0 * * * # Runs every day at midnight
jobs:
generate:
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
with:
speakeasy_version: latest
openapi_doc_location: https://fabra-io.github.io/docs/openapi.yaml
languages: |-
- python: ./
publish_python: true
force: ${{ github.event.inputs.force }}
mode: pr
secrets:
pypi_token: ${{ secrets.PYPI_TOKEN }}
github_access_token: ${{ secrets.GITHUB_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}