actionlint
actionlint copied to clipboard
index.js entrypoint check doesn't allow index.ts dynamically compiled into js
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?
I'm seeing the exact same issue with a workflow that runs the package build in a previous step to create this file.