Update push code samples in generation action

This commit is contained in:
speakeasy-bot
2024-07-01 15:42:29 +00:00
parent 0be9307f80
commit 06e59965bd

View File

@@ -4,23 +4,26 @@ permissions:
contents: write
pull-requests: write
statuses: write
on:
"on":
workflow_dispatch:
inputs:
force:
description: Force generation of SDKs
type: boolean
default: false
push_code_samples_only:
description: Force push only code samples from SDK generation
type: boolean
default: false
schedule:
- cron: 0 0 * * *
jobs:
generate:
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
with:
force: ${{ github.event.inputs.force }}
mode: direct
push_code_samples_only: ${{ fromJSON(github.event.inputs.push_code_samples_only) }}
speakeasy_version: latest
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}