mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-08-13 22:41:54 +02:00
fix: follow the act move in the paths outside Go code
`make test-dind` runs a hardcoded package path, and the `.gitignore` negation for the test secrets fixture stopped matching. Assisted-by: Codet:GPT-5.1-Codex
This commit is contained in:
@@ -31,7 +31,7 @@ func runGit(t *testing.T, dir string, args ...string) {
|
||||
}
|
||||
cmd := exec.Command("git", args...)
|
||||
// Fixed identity and host-config isolation so commits succeed offline regardless of the
|
||||
// host's git config (mirrors gitCmd in act/common/git).
|
||||
// host's git config (mirrors gitCmd in internal/act/common/git).
|
||||
cmd.Env = append(os.Environ(),
|
||||
"GIT_AUTHOR_NAME=test", "[email protected]",
|
||||
"GIT_COMMITTER_NAME=test", "[email protected]",
|
||||
|
||||
Reference in New Issue
Block a user