Skip to content

Commit f650c55

Browse files
committed
fix: map run-workflow action to generate for backward compat
Existing consumers pass action: run-workflow, which was the old Docker action's name. The CLI command is speakeasy ci generate. ✻ Clauded...
1 parent 3c57d33 commit f650c55

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,11 @@ runs:
275275
shell: bash
276276
working-directory: ${{ inputs.working_directory || '.' }}
277277
run: |
278-
speakeasy ci ${{ inputs.action }}
278+
ACTION="${{ inputs.action }}"
279+
if [ "$ACTION" = "run-workflow" ]; then
280+
ACTION="generate"
281+
fi
282+
speakeasy ci $ACTION
279283
env:
280284
# Speakeasy auth/config
281285
SPEAKEASY_API_KEY: ${{ inputs.speakeasy_api_key }}

0 commit comments

Comments
 (0)