From c28596ccd4c61b158f14c3317031f95c13cb5086 Mon Sep 17 00:00:00 2001 From: Sepehr Date: Wed, 1 May 2024 22:02:43 +0200 Subject: [PATCH] Change workflow --- .github/workflows/go.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 200d05d..45c051a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -5,7 +5,7 @@ on: branches: - main tags: - - 'v*' # This will trigger the workflow for any tag starting with 'v' + - '*' pull_request: branches: - main @@ -34,11 +34,10 @@ jobs: uses: codecov/codecov-action@v4.0.1 with: token: ${{ secrets.CODECOV_TOKEN }} - release: needs: test runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/v') # Ensure this runs only for tags starting with 'v' + if: ${{ startsWith(github.ref, 'refs/tags/') }} steps: - name: Check out code uses: actions/checkout@v2