diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e4c292..202053d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,7 +90,8 @@ jobs: - run: go run golang.org/x/vuln/cmd/govulncheck@latest ./... release: - if: vars.BUILD_ON == 'github' && github.ref_type == 'tag' + # v* tags only, as on Gitea: any other tag pushed by hand is not a release. + if: vars.BUILD_ON == 'github' && github.ref_type == 'tag' && startsWith(github.ref_name, 'v') needs: [test] runs-on: ubuntu-latest env: