checkout/dist
Nathan Moin Vaziri e1d91899ae
Pin GIT_CONFIG_GLOBAL to the temp config during global auth setup
configureTempGlobalConfig isolates global git config by overriding HOME to
a temporary directory. But GIT_CONFIG_GLOBAL takes precedence over HOME when
git locates the global config file, so when a workflow already has
GIT_CONFIG_GLOBAL set in the environment, 'git config --global' writes land
in that file instead of the temporary config. replaceTokenPlaceholder then
reads the temporary config, cannot find the placeholder, and fails with
'Unable to replace auth placeholder'.

Set GIT_CONFIG_GLOBAL to the temporary config alongside the HOME override so
global config operations always target the temp file regardless of any
inherited value, and unset it again in removeGlobalConfig.

Assisted-By: Claude Opus 4.8
2026-06-05 11:08:14 -07:00
..
index.js Pin GIT_CONFIG_GLOBAL to the temp config during global auth setup 2026-06-05 11:08:14 -07:00
problem-matcher.json Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00