Compare commits
No commits in common. "5d78017c36505326861040d5321bb7b593990a35" and "41734ef5d51be4324c6427464a5ad9e57d1025fc" have entirely different histories.
5d78017c36
...
41734ef5d5
|
@ -21,11 +21,8 @@ type RunResult struct {
|
|||
func Run(conf *conf.Conf) (
|
||||
runResult RunResult, err error,
|
||||
) {
|
||||
if conf.Teapot.Skip {
|
||||
slog.Info("teapot skip")
|
||||
return
|
||||
}
|
||||
os.Setenv("LOG_FILE_PATH", conf.Teapot.LogPath)
|
||||
os.Setenv("_TYPER_STANDARD_TRACEBACK", "1")
|
||||
if env.Attr.Actor == "" ||
|
||||
env.Attr.Repository == "" ||
|
||||
strings.Count(env.Attr.Repository, "/") != 1 ||
|
||||
|
|
|
@ -41,7 +41,6 @@ type Conf struct {
|
|||
PostStages []ConfStage
|
||||
}
|
||||
Teapot struct {
|
||||
Skip bool `default:"false"`
|
||||
LogPath string `default:"/home/tt/.cache/joint-teapot-debug.log"`
|
||||
EnvFilePath string `default:"/home/tt/.config/teapot/teapot.env"`
|
||||
ScoreboardPath string `default:"scoreboard.csv"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user