This seems to be a problem introduced when moving the reusable code into a local action. A fix is, probably, to move some of the actions back again. (Assuming the security-harden-runner step is even needed. Need to investigate the original purpose of the step.)
https://github.com/instructlab/training/actions/runs/15193552101/job/42732302075?pr=534
Warning: `pre` execution is not supported for local action from './.github/actions/run-smoke'
Post job cleanup.
Post job cleanup.
[harden-runner] post-step
Error: ENOENT: no such file or directory, open '/home/agent/post_event.json'
at Object.writeFileSync (node:fs:2368:20)
at /actions-runner/_work/_actions/step-security/harden-runner/0634a2670c59f64b4a01f0f96f84700a4088b9f0/dist/webpack:/step-security-harden-runner/src/cleanup.ts:40:1
at Generator.next (<anonymous>)
at /actions-runner/_work/_actions/step-security/harden-runner/0634a2670c59f64b4a01f0f96f84700a4088b9f0/dist/post/index.js:27881:71
at new Promise (<anonymous>)
at cleanup_awaiter (/actions-runner/_work/_actions/step-security/harden-runner/0634a2670c59f64b4a01f0f96f84700a4088b9f0/dist/post/index.js:27877:12)
at /actions-runner/_work/_actions/step-security/harden-runner/0634a2670c59f64b4a01f0f96f84700a4088b9f0/dist/webpack:/step-security-harden-runner/src/cleanup.ts:7:1
at /actions-runner/_work/_actions/step-security/harden-runner/0634a2670c59f64b4a01f0f96f84700a4088b9f0/dist/webpack:/step-security-harden-runner/src/cleanup.ts:104:1
at /actions-runner/_work/_actions/step-security/harden-runner/0634a2670c59f64b4a01f0f96f84700a4088b9f0/dist/post/index.js:27977:3
at Object.<anonymous> (/actions-runner/_work/_actions/step-security/harden-runner/0634a2670c59f64b4a01f0f96f84700a4088b9f0/dist/post/index.js:27980:12)
This seems to be a problem introduced when moving the reusable code into a local action. A fix is, probably, to move some of the actions back again. (Assuming the security-harden-runner step is even needed. Need to investigate the original purpose of the step.)
https://github.com/instructlab/training/actions/runs/15193552101/job/42732302075?pr=534