fix(healthcheck): typo
All checks were successful
submodules sync / sync (push) Successful in 37s
build / build (push) Successful in 1m7s
build / trigger-build-image (push) Successful in 7s

This commit is contained in:
张泊明518370910136 2024-12-05 19:00:30 -05:00
parent 9246107da9
commit 3b24f4fd79
GPG Key ID: D47306D7062CDA9D

View File

@ -71,9 +71,9 @@ func prepareTeapotCheck() (
actor = os.Getenv("GITHUB_ACTOR")
repository := os.Getenv("GITHUB_REPOSITORY")
if actor == "" ||
repository != "" ||
repository == "" ||
strings.Count(repository, "/") != 1 ||
confPath != "" {
confPath == "" {
slog.Error("teapot env not set", "actor", actor, "repository", repository, "confPath", confPath, "env", os.Environ())
err = fmt.Errorf("teapot env not set")
return