diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml index 9bbcc75a78..17b0eaf0a8 100644 --- a/.github/workflows/release-nightly.yml +++ b/.github/workflows/release-nightly.yml @@ -9,7 +9,7 @@ permissions: {} jobs: check_nightly: name: Check for new commits - if: vars.BUILD_NIGHTLY + if: github.event_name == 'workflow_dispatch' || vars.BUILD_NIGHTLY permissions: contents: read runs-on: ubuntu-latest