I have just tried some executions on different repositories and detected the same following problem in all of them:
/home/runner/work/_actions/gitleaks/gitleaks-action/v2/dist/index.js:128395
const artifactClient = artifact.create();
^
TypeError: artifact.create is not a function
at Scan (/home/runner/work/_actions/gitleaks/gitleaks-action/v2/dist/index.js:128395:35)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.ScanPullRequest (/home/runner/work/_actions/gitleaks/gitleaks-action/v2/dist/index.js:128443:20)
at async start (/home/runner/work/_actions/gitleaks/gitleaks-action/v2/dist/index.js:139600:16)
Hi, the last release (@2.3.5) seems broken....
I have just tried some executions on different repositories and detected the same following problem in all of them: