From 379c7d8c122cf1c554714c4e18e30935d0af3017 Mon Sep 17 00:00:00 2001 From: jo Date: Thu, 25 Jul 2024 12:54:36 +0200 Subject: [PATCH] ci: format condition --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72a6f10d..497eb872 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,8 +43,9 @@ jobs: run: go test -coverprofile=coverage.txt -v -race ./... - name: Upload coverage reports to Codecov - # don't run if branch name starts with 'renovate/' or 'release-please--' - if: "!startsWith(github.head_ref, 'renovate/') && !startsWith(github.head_ref, 'release-please--')" + if: > + !startsWith(github.head_ref, 'renovate/') && + !startsWith(github.head_ref, 'release-please--') uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }}