mirror of https://github.com/go-gitea/gitea
Avoid MacOS keychain dialog in integration tests (#32813)
Mac's git installation ships with a system wide config that configures the credential helper `osxkeychain`, which will prompt the user with a dialog. ``` $ git config list --system credential.helper=osxkeychain ``` By setting the environment variable [`GIT_CONFIG_NOSYSTEM=true`](https://git-scm.com/docs/git-config#ENVIRONMENT), Git will not load the system wide config, preventing the dialog from populating. Closes #26717pull/32812/head^2
parent
ab6d819a89
commit
a03fdd9566
Loading…
Reference in new issue