diff --git a/.github/workflows/prepare-non-patch-release.yml b/.github/workflows/prepare-non-patch-release.yml index c0b79df361b9..fe7326f00c16 100644 --- a/.github/workflows/prepare-non-patch-release.yml +++ b/.github/workflows/prepare-non-patch-release.yml @@ -93,13 +93,14 @@ jobs: run: git fetch --tags origin - name: Check for unreleased changes + if: github.event_name != 'workflow_dispatch' id: unreleased-changes env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: yarn release:unreleased-changes-exists - name: Cancel when no release necessary - if: steps.unreleased-changes.outputs.has-changes-to-release == 'false' + if: steps.unreleased-changes.outputs.has-changes-to-release == 'false' && github.event_name != 'workflow_dispatch' env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # From https://stackoverflow.com/a/75809743