Skip to content

Fix entrypoint: use printenv for hyphenated INPUT_* vars#5

Merged
baylesj merged 1 commit intomainfrom
feature/claude-code-improvements
Feb 21, 2026
Merged

Fix entrypoint: use printenv for hyphenated INPUT_* vars#5
baylesj merged 1 commit intomainfrom
feature/claude-code-improvements

Conversation

@baylesj
Copy link
Copy Markdown
Owner

@baylesj baylesj commented Feb 21, 2026

Problem

GitHub Actions passes Docker action inputs with hyphens preserved in the env var name — e.g. INPUT_OUTPUT-SVG, not INPUT_OUTPUT_SVG. Bash cannot reference hyphenated variable names with ${} syntax, so those values were silently empty and --output-svg was never passed to the binary.

The ASCII terminal report still printed (it goes to stdout regardless), but no SVG file was written, so git-auto-commit-action found nothing to commit.

Fix

Read the hyphenated env vars via printenv 'INPUT_OUTPUT-SVG' etc., store them in local bash variables, then build the arg array from those.

Test plan

  • Re-run the profile repo action after this image is built — wrote gerrit-heatmap.svg should appear in the step log
  • git-auto-commit-action commits the file

🤖 Generated with Claude Code

@baylesj baylesj merged commit 5020c77 into main Feb 21, 2026
3 checks passed
@baylesj baylesj deleted the feature/claude-code-improvements branch February 21, 2026 09:44
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