You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling the gitleaks action from a reusable workflow the following error is received:
TypeError: Cannot read properties of undefined (reading 'commitSha')
at /home/runner/work/_actions/gitleaks/gitleaks-action/v2.3.2/dist/index.js:70938:52
at Array.forEach (<anonymous>)
at Object.Write (/home/runner/work/_actions/gitleaks/gitleaks-action/v2.3.2/dist/index.js:70937:27)
at start (/home/runner/work/_actions/gitleaks/gitleaks-action/v2.3.2/dist/index.js:71385:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Seems like the GITHUB_EVENT_PATH is working on the subworkflow event path.
The text was updated successfully, but these errors were encountered:
Are you calling the reusable workflow from an event other than a pull request?
I've just set up my reusable workflow to run on pull requests and it's working fine. I saw this issue and was expecting failure but it's behaving the same as a regular workflow.
When calling the gitleaks action from a reusable workflow the following error is received:
Seems like the GITHUB_EVENT_PATH is working on the subworkflow event path.
The text was updated successfully, but these errors were encountered: