Skip to content

Generate

Generate #518

name: Generate
permissions:
checks: write
contents: write
pull-requests: write
statuses: write
"on":
workflow_dispatch:
inputs:
force:
description: Force generation of SDKs
type: boolean
default: false
schedule:
- cron: 0 0 * * *
jobs:
setup-python:
steps:

Check failure on line 18 in .github/workflows/speakeasy_sdk_generation.yml

View workflow run for this annotation

GitHub Actions / Generate

Invalid workflow file

The workflow is not valid. .github/workflows/speakeasy_sdk_generation.yml (Line: 18, Col: 9): Required property is missing: runs-on
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
generate:
needs: setup-python
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
with:
force: ${{ github.event.inputs.force }}
mode: pr
speakeasy_version: latest
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
pypi_token: ${{ secrets.PYPI_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}