diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 14b8408..4ceddf7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -23,8 +23,8 @@ jobs: - name: Release uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') with: draft: true - discussion_category_name: releases generate_release_notes: true token: ${{ secrets.GITHUB_TOKEN }}