What happened?
Action format input is compared with strict equality to "json". Any other spelling — including JSON or Json — silently falls back to markdown.
// packages/action/src/runner.ts
const format = readInput("format", env) === "json" ? "json" : "markdown";
Injected run with INPUT_FORMAT: "JSON" and a stub report: stdout began with # FixMap Report (markdown), not {.
CLI rejects JSON/Markdown with an explicit invalid-option error. Action and CLI disagree, and Action fails open to the wrong format.
How can we reproduce it?
- uses: aryamthecodebreaker/FixMap@v0.7.3
with:
issue: password reset emails fail
format: JSON
Read step stdout / report output — markdown, not JSON.
What did you expect instead?
Case-insensitive accept of json/markdown, or fail the step on unknown values (match CLI). Never silently rewrite JSON → markdown.
FixMap version or commit
v0.7.3 / main
Where did this happen?
GitHub Action
What happened?
Action
formatinput is compared with strict equality to"json". Any other spelling — includingJSONorJson— silently falls back to markdown.Injected run with
INPUT_FORMAT: "JSON"and a stub report: stdout began with# FixMap Report(markdown), not{.CLI rejects
JSON/Markdownwith an explicit invalid-option error. Action and CLI disagree, and Action fails open to the wrong format.How can we reproduce it?
Read step stdout /
reportoutput — markdown, not JSON.What did you expect instead?
Case-insensitive accept of
json/markdown, or fail the step on unknown values (match CLI). Never silently rewriteJSON→ markdown.FixMap version or commit
v0.7.3 / main
Where did this happen?
GitHub Action