build: ensure users with no secrets (dependabot) don't run android upload step

This commit is contained in:
Nick Craig-Wood 2023-03-17 12:11:41 +00:00
parent c003485ae3
commit 68fdff3c27
1 changed files with 1 additions and 1 deletions

View File

@ -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'