chore(healthcheck): log teapot check env
All checks were successful
submodules sync / sync (push) Successful in 37s
build / build (push) Successful in 1m11s
build / trigger-build-image (push) Successful in 7s

This commit is contained in:
张泊明518370910136 2024-12-05 16:41:51 -05:00
parent 536dae6350
commit c2bb81ee3d
GPG Key ID: D47306D7062CDA9D

View File

@ -68,6 +68,7 @@ func init() {
func prepareTeapotCheck() ( func prepareTeapotCheck() (
confObj *conf.Conf, groups []string, actor, repoName string, err error, confObj *conf.Conf, groups []string, actor, repoName string, err error,
) { ) {
slog.Debug("teapot check prepare start", "env", os.Environ())
actor = os.Getenv("GITHUB_ACTOR") actor = os.Getenv("GITHUB_ACTOR")
repository := os.Getenv("GITHUB_REPOSITORY") repository := os.Getenv("GITHUB_REPOSITORY")
if actor == "" || if actor == "" ||