fix: nextjs-tracker workflow fails because prompt_file is not a valid action input#687
Merged
southpolesteve merged 1 commit intomainfrom Mar 25, 2026
Merged
Conversation
…nput The ask-bonk action doesn't support a prompt_file input. The prompt was silently ignored, causing the scheduled run to fail with 'PROMPT input is required'. Set the prompt as a multiline step output and reference it via the prompt input instead.
commit: |
|
Collaborator
Author
|
/bigbonk review |
Contributor
There was a problem hiding this comment.
Correct fix. The prompt_file input doesn't exist on the ask-bonk action, and the multiline heredoc output pattern (<<PROMPT_DELIM / PROMPT_DELIM) is the standard way to pass multi-line strings through $GITHUB_OUTPUT.
Also good catch removing the unused HOURS variable that was shadowing the one already set in the prior step.
Contributor
|
Approved the PR. The fix is clean:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ask-bonkaction doesn't support aprompt_fileinput (valid inputs:model,agent,prompt,mentions,permissions,oidc_base_url,forks,variant,token_permissions,opencode_version,opencode_dev)PROMPT input is required for scheduled and workflow_dispatch events$GITHUB_OUTPUTin the "Build tracker prompt" step and reference it viaprompt: ${{ steps.build_prompt.outputs.prompt }}Failed run: https://github.com/cloudflare/vinext/actions/runs/23531220466