actionlint icon indicating copy to clipboard operation
actionlint copied to clipboard

index.js entrypoint check doesn't allow index.ts dynamically compiled into js

Open tarungunampalli1 opened this issue 9 months ago • 1 comments

I'm seeing this error: file "build/tools/github-actions/collect-workflow-trace/src/index.js" does not exist in "/home/runner/work/<repo_name>/<repo_name>/tools/github-actions/collect-workflow-trace". it is specified at "main" key in "runs" section in "<action_name>" action.

We have an index.ts file, which we compile into js in the action, so index.js doesn't exist statically. Can we allow index.js or .ts?

tarungunampalli1 avatar Feb 25 '25 22:02 tarungunampalli1

I'm seeing the exact same issue with a workflow that runs the package build in a previous step to create this file.

johnbillion avatar Mar 04 '25 01:03 johnbillion