diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a6efc09..ba59934 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,7 +53,7 @@ jobs: - name: Create Release id: create_release uses: actions/create-release@v1 - if: ${{ github.event_name != 'pull_request' }} + if: startsWith(github.ref, 'refs/tags/') env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: