sds / overcommit

A fully configurable and extendable Git hook manager
MIT License
3.91k stars 280 forks source link

Test flows fail due to `git submodule add` failing to execute #828

Closed fulf closed 6 months ago

fulf commented 6 months ago

Due to a security patch from 2022 (CVE-2022-39253) associated with the release of git 2.38.1 and the back port of the associated patch to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 simply using git submodule add does not work anymore.

As such there are a bunch of failing specs for all Ruby versions due to the GitHub Worker container running an updated git version.

Solution: The git command must be prefixed with the -c protocol.file.allow=always flag.