From 38cbc712cba46941c8862067d8e489bf0facdd26 Mon Sep 17 00:00:00 2001 From: Seraphim Strub Date: Fri, 10 Mar 2023 15:02:43 +0100 Subject: [PATCH] fix ci? --- .gitlab-ci.yml | 1 + cmd/tempbot/main.go | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b253ef0..6256237 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,6 +24,7 @@ - if: $CI_COMMIT_BRANCH changes: - cmd/${GO_CMD}/*/** + - cmd/${GO_CMD}/* funbot: stage: build diff --git a/cmd/tempbot/main.go b/cmd/tempbot/main.go index d9273e3..2ad984a 100644 --- a/cmd/tempbot/main.go +++ b/cmd/tempbot/main.go @@ -59,8 +59,6 @@ func main() { log.Fatal("couldn't find needed channel") } - // delete messages older then x min in channel - ticker := time.NewTicker(1 * time.Minute) quit := make(chan struct{}) go func() {