From d3de9b31b2d9d8c39afdab71b3e0d21395859457 Mon Sep 17 00:00:00 2001 From: Lukas Senionis Date: Sun, 27 Aug 2023 21:46:25 +0300 Subject: [PATCH] Don't try to upload to store from unauthorized forks --- .github/workflows/build-plugins.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-plugins.yml b/.github/workflows/build-plugins.yml index bbde8b9e..06671dc8 100644 --- a/.github/workflows/build-plugins.yml +++ b/.github/workflows/build-plugins.yml @@ -308,12 +308,12 @@ jobs: path: /tmp/output/*.zip - name: Upload plugins to store - if: ${{ matrix.upload == true }} id: upload-plugins env: SUBMIT_AUTH_KEY: ${{ secrets.SUBMIT_AUTH_KEY }} STORE_URL: ${{ secrets.STORE_URL }} upload: ${{ matrix.upload }} + if: ${{ matrix.upload == true && env.SUBMIT_AUTH_KEY != '' }} run: | shopt -s dotglob