diff --git a/.github/workflows/distributable-dispatch.yml b/.github/workflows/distributable-dispatch.yml index f75ba76b2..af69f785f 100644 --- a/.github/workflows/distributable-dispatch.yml +++ b/.github/workflows/distributable-dispatch.yml @@ -15,6 +15,7 @@ jobs: windows-distributable: name: Windows Distributable Dispatch runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' steps: - name: Windows Workflow Dispatch uses: convictional/trigger-workflow-and-wait@v1.6.1 @@ -30,6 +31,7 @@ jobs: macos-distributable: name: MacOS Distributable Dispatch runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' steps: - name: Homebrew Workflow Dispatch uses: convictional/trigger-workflow-and-wait@v1.6.1 @@ -55,6 +57,7 @@ jobs: linux-distributable: name: Linux Distributable Dispatch runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' steps: - name: Linux Workflow Dispatch uses: convictional/trigger-workflow-and-wait@v1.6.1