Skip to content

ci: rename direct_prompt to prompt in api-sync workflow#24

Merged
anneschuth merged 1 commit into
mainfrom
ci/fix-api-sync-prompt-input
May 7, 2026
Merged

ci: rename direct_prompt to prompt in api-sync workflow#24
anneschuth merged 1 commit into
mainfrom
ci/fix-api-sync-prompt-input

Conversation

@anneschuth

Copy link
Copy Markdown
Member

Summary

claude-code-action@v1 renamed the autonomous prompt input from direct_prompt to prompt. The old name produces a warning (Unexpected input(s) 'direct_prompt') and is silently ignored, so the action waits for a trigger phrase or label the workflow never provides. The Implement step exits successfully having done nothing.

This is exactly what happened on PR #23: the daily api-sync run detected two new endpoints (GET /v2/projects/{p}/deployments and GET /v2/projects/{p}/deployments/{d}), opened a PR with the spec bump, but the Implement step was a no-op. The endpoints had to be implemented by hand.

With this one-line fix, future api-sync runs auto-implement new endpoints as designed.

Test plan

  • grep direct_prompt .github/workflows/*.yml returns nothing
  • Wait for the next scheduled api-sync run to confirm Claude actually executes the prompt (or trigger manually via gh workflow run api-sync.yml)

claude-code-action@v1 renamed the autonomous prompt input from
`direct_prompt` to `prompt`. The old name now triggers a warning
("Unexpected input(s) 'direct_prompt'") and is silently ignored, so
the action waits for a trigger phrase or label that the workflow
never provides. The Implement step exits successfully having done
nothing.

This is exactly what happened on PR #23, which landed with only the
spec bump and required manual implementation. With this fix, future
api-sync runs should auto-implement new endpoints as designed.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI-only change. The rename from direct_prompt to prompt matches the claude-code-action@v1 input schema. No CLI, client, or test changes — nothing to flag.

@anneschuth anneschuth merged commit a478f2a into main May 7, 2026
9 checks passed
@anneschuth anneschuth deleted the ci/fix-api-sync-prompt-input branch May 7, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant