From 354cf96afe7774d28433d49875a226e4c167bada Mon Sep 17 00:00:00 2001 From: Zlatko Bratkovic Date: Thu, 30 May 2024 21:52:42 +0200 Subject: [PATCH] BUILD/MINOR: ci: in case of failure retry linter check --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b7c5b4ea..0aa69525 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -75,6 +75,7 @@ gofumpt: - test -z "$(git diff 2> /dev/null)" || exit 'Go code not formatted, issue \`make gofumpt\` and commit the result' golangci_lint: stage: lint + retry: 2 needs: [] rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event'