From e507051e23e71f22b62e267c67e2906a48e7ba68 Mon Sep 17 00:00:00 2001 From: ecrupper Date: Wed, 29 Nov 2023 13:14:15 -0600 Subject: [PATCH] fix(ci): add timeout to golangci-lint reviewdog job --- .github/workflows/reviewdog.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 475efe79..9f3e1cb0 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -26,7 +26,7 @@ jobs: uses: reviewdog/action-golangci-lint@94d61e3205b61acf4ddabfeb13c5f8a13eb4167b # v2 with: github_token: ${{ secrets.github_token }} - golangci_lint_flags: "--config=.golangci.yml" + golangci_lint_flags: "--config=.golangci.yml --timeout=5m" fail_on_error: true filter_mode: diff_context reporter: github-pr-review @@ -50,6 +50,6 @@ jobs: uses: reviewdog/action-golangci-lint@94d61e3205b61acf4ddabfeb13c5f8a13eb4167b # v2 with: github_token: ${{ secrets.github_token }} - golangci_lint_flags: "--config=.golangci.yml" + golangci_lint_flags: "--config=.golangci.yml --timeout=5m" fail_on_error: false filter_mode: nofilter