From 68fdff3c2798e9f69c38d4f391758ce40b5d3f15 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 17 Mar 2023 12:11:41 +0000 Subject: [PATCH] build: ensure users with no secrets (dependabot) don't run android upload step --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b8ea372e3..2ff1ae02b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -352,4 +352,4 @@ jobs: env: RCLONE_CONFIG_PASS: ${{ secrets.RCLONE_CONFIG_PASS }} # Upload artifacts if not a PR && not a fork - if: github.head_ref == '' && github.repository == 'rclone/rclone' + if: env.RCLONE_CONFIG_PASS != '' && github.head_ref == '' && github.repository == 'rclone/rclone'