diff --git a/Makefile b/Makefile index 89108c7..a9125fe 100644 --- a/Makefile +++ b/Makefile @@ -31,4 +31,4 @@ test: ci-test: ./scripts/prepare_test_repos.sh $(TMP_DIR) ./scripts/run_foreach_test_repos.sh $(TMP_DIR) "sed -i '2i \ \ \"sandboxExecServer\": \"172.17.0.1:5051\",' conf.json" - GITHUB_TRIGGERING_ACTOR="" go test -coverprofile cover.out -v ./... + GITHUB_ACTOR="" go test -coverprofile cover.out -v ./... diff --git a/cmd/joj3/teapot/run.go b/cmd/joj3/teapot/run.go index 1b6437c..0adffd1 100644 --- a/cmd/joj3/teapot/run.go +++ b/cmd/joj3/teapot/run.go @@ -26,7 +26,7 @@ type TeapotResult struct { func Run(conf *conf.Conf) (teapotResult TeapotResult, err error) { os.Setenv("LOG_FILE_PATH", conf.Teapot.LogPath) os.Setenv("_TYPER_STANDARD_TRACEBACK", "1") - if env.Attr.TriggeringActor == "" || + if env.Attr.Actor == "" || env.Attr.Repository == "" || strings.Count(env.Attr.Repository, "/") != 1 || env.Attr.RunNumber == "" {