Skip to content

Commit b322622

Browse files
fix: use PR mode for spec-change SDK generation
Switch sdk_generation_for_spec_change.yaml from direct to pr mode so Speakeasy opens a PR instead of pushing to main. This avoids branch protection failures and routes publishing through sdk_publish.yaml.
1 parent 415450e commit b322622

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/sdk_generation_for_spec_change.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
2929
with:
3030
force: ${{ github.event.inputs.force }}
31-
mode: direct
31+
mode: pr
3232
set_version: ${{ github.event.inputs.set_version }}
3333
secrets:
3434
github_access_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)