From 45fab4b811c6572bb2379bb32af7df5110089c1e Mon Sep 17 00:00:00 2001 From: heronimus Date: Thu, 19 Oct 2023 21:38:27 +0700 Subject: [PATCH] chore(ci): fix codecov missing ref during release --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c549c7b..06056eb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,6 +38,7 @@ jobs: name: Upload coverage output to Codecov.io runs-on: ubuntu-latest needs: go-test + if: github.ref == 'refs/heads/main' || github.event_name == 'pull_request' steps: - name: Checkout uses: actions/checkout@v4