Skip to content

Conversation

@chris-martin
Copy link

Clarify the description for package_json_file parameter to specify that the path must be relative to the repository root.

If, for example, you give an absolute file path, it doesn't work, because the provided path will always be prefixed by GITHUB_WORKSPACE at

const content = readFileSync(path.join(GITHUB_WORKSPACE, packageJsonFile), 'utf8');

Clarify the description for package_json_file parameter to specify that the path must be relative to the repository root.
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