From a7f93dd0cc1218a9492c5b4e02a480797f8cacbd Mon Sep 17 00:00:00 2001 From: Bionus Date: Sun, 1 Nov 2020 12:29:10 +0100 Subject: [PATCH] Don't try to release nightly on Github on PR --- .github/workflows/android.yml | 1 + .github/workflows/linux.yml | 1 + .github/workflows/macos.yml | 1 + .github/workflows/windows.yml | 1 + 4 files changed, 4 insertions(+) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index c55494431..fee4361e3 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -83,6 +83,7 @@ jobs: - name: Nightly uses: ncipollo/release-action@v1 + if: ${{ github.event_name != 'pull_request' }} with: token: ${{ secrets.GITHUB_TOKEN }} tag: nightly-github diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 30c90df39..a2940580a 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -60,6 +60,7 @@ jobs: - name: Nightly uses: ncipollo/release-action@v1 + if: ${{ github.event_name != 'pull_request' }} with: token: ${{ secrets.GITHUB_TOKEN }} tag: nightly-github diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index e80e01d9f..76085f85f 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -56,6 +56,7 @@ jobs: - name: Nightly uses: ncipollo/release-action@v1 + if: ${{ github.event_name != 'pull_request' }} with: token: ${{ secrets.GITHUB_TOKEN }} tag: nightly-github diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9876c9af7..95303cd81 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -134,6 +134,7 @@ jobs: - name: Nightly uses: ncipollo/release-action@v1 + if: ${{ github.event_name != 'pull_request' }} with: token: ${{ secrets.GITHUB_TOKEN }} tag: nightly-github