speakeasy-api/Speakeasy SDK Workflow Runner Action

The Speakeasy Generation Action is to be run via the workflows provided in this repo and is not intended to be run directly.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
speakeasy_versionThe version of the Speakeasy CLI to use or "latest"nolatest
github_access_tokenA GitHub access token with write access to the repoyes
speakeasy_api_keyThe Speakeasy API key to authenticate the Speakeasy CLI withyes
pr_creation_patA specific Github PAT used to create Pull Requestsno
openapi_doc_auth_tokenAn auth token to authenticate with a private OpenAPI specno
forceForce the SDK to be regeneratednofalse
signed_commitsSign commits with GPGnofalse
sourcesThe sources to tag (comma or newline separated)no
targetGenerate a specific target by nameno
code_samplesThe targets to tag code samples for (comma or newline separated)no
registry_tagsMulti-line or single-line string input of tags to apply to speakeasy registry buildsno
max_suggestionsThe maximum number of suggestions to apply when using the 'suggest' action step.no5
modeThe mode to run the workflow in when using the 'generate' action, valid options are 'direct' or 'pr', defaults to 'direct'. This is intended to be used along with the `action` input to determine the current action step to run. - 'direct' mode will generally create a branch to generate the SDK on then merge this directly to the branch the workflow is configure to run on (normally 'main' or 'master') after compilation is successful. - 'pr' will create a branch to generate the SDK on then create a pull request to merge this branch to the branch the workflow is configure to run on (normally 'main' or 'master') after compilation is successful. See documentation for more details.nodirect
actionThe current action step to run, valid options are 'run-workflow', 'release', or 'tag', defaults to 'run-workflow'. This is intended to be used along with the `mode` input to determine the current action step to run. - 'run-workflow' will generate the SDK and commit the changes to the branch. - 'release' will create a release on Github. - 'tag' will tag the registry images with the provided tags.
feature_branchThe branch that represents the SDK feature. Will be upserted when manually dispatching the workflow.no
skip_compileSkip environment setup and pass --skip-compile to Speakeasy run.nofalse
branch_nameThe name of the branch to finalize, only used for the 'finalize' action step.no
cli_outputOutput of `speakeasy suggest` CLI command, only used for the 'finalize-suggestion' action step.no
previous_gen_versionThe version of the previous generation, only used for the 'finalize' action step.no
output_testsInternal use onlyno
speakeasy_server_urlInternal use onlyno
openai_api_keyThe OpenAI API key to authenticate to access LLM suggestions. If left empty it will use Speakeasy's key within platform limits.no
working_directoryThe working directory for running Speakeasy CLI commands in the actionno
gpg_fingerprintThe GPG fingerprint to sign the release withno
push_code_samples_onlyThis will generate code samples, tag them with the `main` branch name, and push them to the registry. It will not create a pull request or commit any code. This is useful for pushing up some code samples to the registry the first time when there are no code samples in the registry.no
target_directoryThe directory the SDK target was generated tono
registry_nameThe name of the publishing registryno
set_versionVersion to manually set for SDK generationno
cli_environment_variablesExtra environment variables to set for the speakeasy run execution. no
pnpm_versionVersion of pnpm to install. Not recommended for use without consulting Speakeasy support.no
skip_testingSkip Speakeasy workflow target testing after generation. In mode: pr, testing is always skipped during generation regardless of this input — tests should run separately via the sdk-test.yaml workflow (set up with 'speakeasy configure test'). This input only takes effect in mode: direct.nofalse
poetry_versionVersion of poetry to install. Not recommended for use without consulting Speakeasy support.no
uv_versionVersion of uv to install. Not recommended for use without consulting Speakeasy support.no
github_repositoryThe GitHub repository path for the SDK. Eg: speakeasy-api/speakeasy-sdk-pythonno""
enable_sdk_changelogEnable the new SDK changelog featurenofalse
skip_releaseSkip creating releases and registry tagging in direct modenofalse
skip_versioningSkip versioning during SDK generation, preventing version bumpsnofalse
namedescription
publish_pythonWhether the Python SDK will be published to PyPi
publish_typescriptWhether the Typescript SDK will be published to NPM
publish_terraformWhether the Terraform Provider will be published to the Terraform Registry
publish_phpWhether the PHP SDK will be published to Packagist this will also create a release on Github
publish_rubyWhether the Ruby SDK will be published to Rubygems
publish_javaWhether the Java SDK will be published to the provided OSSRH URL
publish_csharpWhether the C# SDK will be published to Nuget
publish_cliWhether the CLI target will be published
publish_mcp_typescriptWhether the MCP Typescript target will be published to NPM
publish_mcp_registryWhether the MCP Typescript target will be published to the MCP Registry
cli_regeneratedtrue if the CLI target was regenerated
cli_directoryThe directory the CLI target was generated to
python_regeneratedtrue if the Python SDK was regenerated
python_directoryThe directory the Python SDK was generated to
typescript_regeneratedtrue if the Typescript SDK was regenerated
typescript_directoryThe directory the Typescript SDK was generated to
go_regeneratedtrue if the Go SDK was regenerated
go_directoryThe directory the Go SDK was generated to
java_regeneratedtrue if the Java SDK was regenerated
java_directoryThe directory the Java SDK was generated to
mcp_typescript_regeneratedtrue if the MCP Typescript target was regenerated
mcp_typescript_directoryThe directory the MCP Typescript target was generated to
terraform_regeneratedtrue if the Terraform Provider was regenerated
terraform_directoryThe directory the Terraform Provider was generated to
php_regeneratedtrue if the PHP SDK was regenerated
php_directoryThe directory the PHP SDK was generated to
ruby_regeneratedtrue if the Ruby SDK was regenerated
ruby_directoryThe directory the Ruby SDK was generated to
csharp_regeneratedtrue if the C# SDK was regenerated
csharp_directoryThe directory the C# SDK was generated to
unity_regeneratedtrue if the Unity SDK was regenerated
unity_directoryThe directory the Unity SDK was generated to
swift_regeneratedtrue if the Swift SDK was regenerated
swift_directoryThe directory the Swift SDK was generated to
docs_regeneratedtrue if SDK docs were regenerated
docs_directoryThe directory the SDK docs was generated to
branch_nameThe name of the branch the SDK was generated or spec was modified on
cli_outputOutput of the CLI command issued in the `suggest` action
commit_hashThe commit hash of the merge commit into main if using 'direct' mode
previous_gen_versionThe version of the previous generation
openapi_docThe location of the OpenAPI document used for generation
registry_nameThe name of the publishing registry
target_directoryThe directory the SDK target was generated to
mcp_release_typescriptThe release tag used for standalone ts mcp binaries
use_pypi_trusted_publishingWhether to use OIDC trusted publishing for PyPI instead of token-based authentication