Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error: Cannot read properties of undefined (reading 'replace') #457

@tysonnero-ccm

Description

@tysonnero-ccm

Hi!

I'm getting the following error when running this action from a workflow:
Error: Cannot read properties of undefined (reading 'replace')

I'm not getting any other specific details, so I'm not sure what the exact issue may by.

Here is an example of what is being passed to the action:

with:
    sourceFile: .github/actions/build/action.yml
    readme: .github/actions/build/README.md
    includeNameHeader: true
    tocLevel: 1
    lineBreaks: LF

The source and readme values are pointing to actions within the repository that are being fed in from tj-actions/changed-files. I am able to cat both of these files in a previous step and see their contents. Is this action expecting a different path?

Thanks for any guidance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions