create-pull-request/__test__
Peter Evans 4924300074 feat: adopt checkout@v6 auth pattern using credentials files
Replace the workaround that hid/restored checkout@v6 credential files
with a proper implementation that aligns with actions/checkout@v6's
new authentication approach.

Changes:
- Store credentials in separate config file in RUNNER_TEMP with UUID
- Use git's includeIf.gitdir mechanism to conditionally include credentials
- Support both host and Docker container paths for credential resolution
- Add worktree path support for git worktrees
- Maintain backwards compatibility with checkout@v4/v5 old-style auth

GitCommandManager:
- Add configFile parameter to config() method
- Add tryConfigUnsetValue() for key-value specific unset
- Add tryGetConfigValues() for multi-value config keys
- Add tryGetConfigKeys() for regex pattern matching config keys

GitConfigHelper:
- Remove hacky hide/unhide credential file approach
- Add getCredentialsConfigPath() for UUID-based credential file paths
- Add configureIncludeIf() for setting up includeIf entries
- Add removeIncludeIfCredentials() for cleanup
- Retain setExtraheaderConfig() for restoring old-style persisted auth
2026-01-21 16:58:41 +00:00
..
create-or-update-branch.int.test.ts fix: support submodules when commit signing (#3354) 2024-09-18 09:46:39 -07:00
entrypoint.sh fix: preserve unicode in filepaths when commit signing (#3588) 2024-12-27 02:51:52 -08:00
git-command-manager.int.test.ts fix: preserve unicode in filepaths when commit signing (#3588) 2024-12-27 02:51:52 -08:00
git-config-helper.int.test.ts feat: adopt checkout@v6 auth pattern using credentials files 2026-01-21 16:58:41 +00:00
git-config-helper.unit.test.ts feat: v6 (#2717) 2024-01-31 11:06:34 +00:00
integration-tests.sh feat: v6 (#2717) 2024-01-31 11:06:34 +00:00
utils.unit.test.ts feat: v6 (#2717) 2024-01-31 11:06:34 +00:00