-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
step-security/harden-runner stops npm install #122
Comments
Sorry to hear that @wallies. I am trying to repro it, but not able to. I suspect it might be something specific to the workflow. In your workflow, can you please follow these steps to help troubleshoot:
Please share that error message. That should help troubleshoot the issue. Thanks! |
I did notice that the |
Thanks for trying to reproduce @varunsh-coder. It's the weirdest thing no errors at all. Normally without the hardener step at the start the build takes 5 to 6 minutes. Yet with it there it just hangs. I will try to get more output today. It works on all my other repos and jobs and this isn't doing anything special and I only have the hardener on audit so shouldn't block |
I tried this again with ACTIONS_RUNNER_DEBUG. Still nothing, below is the build output from npm ci. The cancel is after 15 minutes. The install usually takes no longer than 5.
|
@wallies sorry to hear it is still not working. For me to repro it, so I can try to understand the issue, would it be possible for you to share the package.json and package-lock.json with me? Feel free to email the files to me if you prefer that. |
updating this issue: I found the root cause and the fix has been tested. Should be released early next week. File monitoring was causing the job to slow down due to lot of |
Hi @wallies, this should be fixed. Can you please verify with the latest tag - |
In one of my github actions i setup 9b0655f # v1 with audit egress policy. I was using https://github.com/wallies/action-netlify-deploy to setup my netlify previews. The issue was when it came to install my dependencies via npm ci or npm install it would just hang. I removed step-security/harden-runner step and everything worked. Im using node lts 16.14
The text was updated successfully, but these errors were encountered: