diff --git a/.golangci.yml b/.golangci.yml index 29a2d61e..4ec18eda 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -39,6 +39,13 @@ linters: deny: - pkg: golang.org/x/exp desc: it's experimental and unreliable + logrus: + files: + - $all + - "!**/act/common/logging/**" + deny: + - pkg: github.com/sirupsen/logrus + desc: log through gitea.com/gitea/runner/act/common/logging nolintlint: allow-unused: false require-explanation: true