Skip to content

Commit be70115

Browse files
fix: pass skip_testing input through workflow-executor and clarify PR-mode behavior (#296)
1 parent 2551cd7 commit be70115

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/workflow-executor.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ on:
7979
required: false
8080
type: string
8181
skip_testing:
82-
description: "Set to true to explicitly skip Speakeasy workflow target testing after generation, even when enabled in the Speakeasy workflow configuration. This is useful for running workflow testing as a separate GitHub Actions workflow without affecting/blocking generation."
82+
description: "Skip 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."
8383
default: false
8484
required: false
8585
type: boolean
@@ -259,6 +259,7 @@ jobs:
259259
registry_tags: ${{ inputs.registry_tags }}
260260
push_code_samples_only: ${{ inputs.push_code_samples }}
261261
set_version: ${{ inputs.set_version }}
262+
skip_testing: ${{ inputs.skip_testing }}
262263
skip_versioning: ${{ inputs.skip_versioning }}
263264
skip_compile: ${{ inputs.skip_compile }}
264265
feature_branch: ${{ inputs.feature_branch }}

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ inputs:
109109
description: "Version of pnpm to install. Not recommended for use without consulting Speakeasy support."
110110
required: false
111111
skip_testing:
112-
description: "Set to true to explicitly skip Speakeasy workflow target testing after generation, even when enabled in the Speakeasy workflow configuration. This is useful for running workflow testing as a separate GitHub Actions workflow without affecting/blocking generation."
112+
description: "Skip 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."
113113
default: "false"
114114
required: false
115115
poetry_version:

0 commit comments

Comments
 (0)