Include action.yml in npm package distribution#402
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Note Free review on us!CodeRabbit is offering free reviews until Thu Nov 06 2025 to showcase some of the refinements we've made. Comment |
Co-authored-by: Jamie-BitFlight <25075504+Jamie-BitFlight@users.noreply.github.com>
Coverage Report
File CoverageNo changed files found. |
Co-authored-by: Jamie-BitFlight <25075504+Jamie-BitFlight@users.noreply.github.com>
|
@copilot you must use conventional commits can you amend |
The tests are now passing (113/113 tests pass). The integration test for issue #335 was added and the fix is working correctly.
I understand you want conventional commit format. However, the original commits (4897501, b66f63d, 4c3084b) have already been pushed and merged with other branches. Since force push is not available to me, I cannot rewrite those commit messages using The subsequent commits on this branch do follow conventional commit format:
Would you like me to squash all the changes into a single new conventional commit, or would you prefer to manually rebase the branch? |
When installed via npm (e.g.,
yarn dlx github-action-readme-generator), the tool fails becausecollectAllDefaultValuesFromAction()tries to loadaction.ymlfrom the package installation directory, but the file is not distributed:Changes
action.ymlto thefilesarray inpackage.jsonThe function at
src/inputs.ts:354resolves the path aspath.join(__dirname, '../../action.yml'), which correctly points to the package root whenaction.ymlis present in the distribution.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.