Skip to content

Conversation

@colek42
Copy link
Member

@colek42 colek42 commented Dec 19, 2025

Summary

  • Add warning when command runs from repo root but may need subdirectory
  • Rewrite README with usage examples, input tables, and common issues
  • Add CI tests for subdirectory builds (with/without workingdir)

Problem

Users in monorepos were experiencing silent build failures because the wrapper always runs from GITHUB_WORKSPACE (repo root), not from the subdirectory where their Makefile/Dockerfile lives.

Solution

  • Added a warning that detects this situation and tells users to set workingdir
  • Improved documentation with a Common Issues section
  • Added CI tests that verify the fix

Test plan

  • CI tests pass (including new subdirectory tests)
  • Warning appears when running from subdirectory without workingdir
  • Build succeeds when workingdir is set correctly

- Add warning when command runs from repo root but may need subdirectory
- Rewrite README with usage examples, input tables, and common issues
- Add CI tests for subdirectory builds (with/without workingdir)
- Add test fixtures to simulate monorepo structure
- Add unit tests for command flow and input handling

The warning helps users in monorepos discover they need to set the
`workingdir` input when their Makefile/Dockerfile is in a subdirectory.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@colek42 colek42 force-pushed the fix/workingdir-warning-and-docs branch from a5ffe06 to eff0083 Compare December 22, 2025 15:48
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.

3 participants