gitleaks / gitleaks-action

Protect your secrets using Gitleaks-Action
https://gitleaks.io
Other
319 stars 122 forks source link

Delay due to bug in node20 runtime #162

Open dmelikhov opened 1 month ago

dmelikhov commented 1 month ago

Node 20 has changed keepAlive to be true by default:

Starting with this release, Node.js sets keepAlive to true by default. This means that any outgoing HTTP(s) connection will automatically use HTTP 1.1 Keep-Alive.

This has had an impact on many GitHub Actions including this one, making it much slower.

Scan is usually completed in under a second, while the action takes 2+ minutes to finish: image

2:56PM INF scan completed in 61.1ms
2:56PM INF no leaks found

Please see related issues and possible workarounds: https://github.com/nodejs/node/issues/47228 https://github.com/actions/setup-node/issues/878 https://github.com/ruby/setup-ruby/issues/543