Skip to content

Generate

Generate #10

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 * * 1" # Mondays at 00:00 UTC
jobs:
generate:
uses: goshippo/speakeasy-sdk-generation-action/.github/workflows/workflow-executor.yaml@csharp-sdk
with:
force: ${{ github.event.inputs.force }}
mode: pr
speakeasy_version: latest
secrets:
github-app-id: ${{ vars.GH_APP_ID }}
github-app-private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
nuget_api_key: ${{ secrets.NUGET_API_KEY }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}