Skip to content

Doesn't get off the ground at all #335

Closed

Description

@oliversalzburg

Current behavior

yarn dlx github-action-readme-generator fails, because this module tries to look up an action.yml in the module itself, due to a hardcoded __dirname in the lookup.

const thisActionPath = path.join(__dirname, providedMetaActionPath ?? metaActionPath);

Expected behavior

Anything at all working

github-action-readme-generator version

latest

CI environment

any

github-action-readme-generator configuration i.e: .ghadocs.json

any

CI logs

Error: failed to load defaults from this action's action.yml: Error: Failed to load /home/oliver/projects/action-automatic-semantic-releases/node_modules/github-action-readme-generator/action.yml. Error: /home/oliver/projects/action-automatic-semantic-releases/node_modules/github-action-readme-generator/action.yml does not exist in /home/oliver/projects/action-automatic-semantic-releases/node_modules/github-action-readme-generator
    at collectAllDefaultValuesFromAction (file:///home/oliver/projects/action-automatic-semantic-releases/node_modules/github-action-readme-generator/dist/bin/index.js:292105:11)
    at loadDefaultConfig (file:///home/oliver/projects/action-automatic-semantic-releases/node_modules/github-action-readme-generator/dist/bin/index.js:292134:25)
    at new Inputs (file:///home/oliver/projects/action-automatic-semantic-releases/node_modules/github-action-readme-generator/dist/bin/index.js:292210:5)
    at generateReadme (file:///home/oliver/projects/action-automatic-semantic-releases/node_modules/github-action-readme-generator/dist/bin/index.js:310126:18)
    at file:///home/oliver/projects/action-automatic-semantic-releases/node_modules/github-action-readme-generator/dist/bin/index.js:310131:7

Activity

  1. added a commit that references this issue on Nov 5, 2025
  2. added 2 commits that reference this issue on Nov 5, 2025
    5e9f2fb
    88801e5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions