From 872abfe678a4f4d72fcdf82f1a74528b671f6911 Mon Sep 17 00:00:00 2001 From: Tugdual Saunier Date: Mon, 16 Jun 2025 11:47:35 +0200 Subject: [PATCH] ci: disable lint jobs for tags it looks like golangci/golangci-lint-action's `only-new-issues` option is a bit confused when running on a tag, so I propose to disable it in such case --- .github/workflows/releaser.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index c9326c33..72975f12 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -13,6 +13,8 @@ jobs: lint: name: Lint runs-on: ubuntu-latest + # only for PRs and push on branches + if: ${{ !startsWith(github.ref, 'refs/tags/v') }} steps: - uses: actions/checkout@v4 -