diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1501e2628..741d282c12 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -167,7 +167,7 @@ jobs: release: name: "Create Release" needs: [version, changes, build, build_helm] - if: ${{ !failure() && !cancelled() }} + if: ${{ github.event_name == 'workflow_dispatch' && !failure() && !cancelled() }} runs-on: ubuntu-latest steps: - name: Checkout @@ -196,3 +196,4 @@ jobs: prerelease: ${{ github.event_name == 'push' }} token: ${{ secrets.GITHUB_TOKEN }} body_path: RELEASE_HEADER.md +