From b61971f41a18fa4a59dec10550f28aa93a8f4299 Mon Sep 17 00:00:00 2001 From: AnturK Date: Tue, 3 Aug 2021 09:38:56 +0200 Subject: [PATCH] ACTION_ENABLER secret take two. (#60524) --- .github/workflows/compile_changelogs.yml | 4 ++-- .github/workflows/gbp.yml | 4 ++-- .github/workflows/gbp_collect.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/compile_changelogs.yml b/.github/workflows/compile_changelogs.yml index 9943765d6f0..1ae28dec542 100644 --- a/.github/workflows/compile_changelogs.yml +++ b/.github/workflows/compile_changelogs.yml @@ -14,8 +14,8 @@ jobs: env: ENABLER_SECRET: ${{ secrets.ACTION_ENABLER }} run: | - unset SECRET_EXISTS - if [ -n $ENABLER_SECRET ]; then SECRET_EXISTS='true' ; fi + SECRET_EXISTS=false + if [ -n $ENABLER_SECRET ]; then SECRET_EXISTS=true ; fi echo ::set-output name=ACTIONS_ENABLED::${SECRET_EXISTS} - name: "Setup python" if: steps.value_holder.outputs.ACTIONS_ENABLED diff --git a/.github/workflows/gbp.yml b/.github/workflows/gbp.yml index 655f1241a1d..3920319a793 100644 --- a/.github/workflows/gbp.yml +++ b/.github/workflows/gbp.yml @@ -11,8 +11,8 @@ jobs: env: ENABLER_SECRET: ${{ secrets.ACTION_ENABLER }} run: | - unset SECRET_EXISTS - if [ -n $ENABLER_SECRET ]; then SECRET_EXISTS='true' ; fi + SECRET_EXISTS=false + if [ -n $ENABLER_SECRET ]; then SECRET_EXISTS=true ; fi echo ::set-output name=ACTIONS_ENABLED::${SECRET_EXISTS} - name: Checkout if: steps.value_holder.outputs.ACTIONS_ENABLED diff --git a/.github/workflows/gbp_collect.yml b/.github/workflows/gbp_collect.yml index 69701e546dd..5f2e79e53b0 100644 --- a/.github/workflows/gbp_collect.yml +++ b/.github/workflows/gbp_collect.yml @@ -13,8 +13,8 @@ jobs: env: ENABLER_SECRET: ${{ secrets.ACTION_ENABLER }} run: | - unset SECRET_EXISTS - if [ -n $ENABLER_SECRET ]; then SECRET_EXISTS='true' ; fi + SECRET_EXISTS=false + if [ -n $ENABLER_SECRET ]; then SECRET_EXISTS=true ; fi echo ::set-output name=ACTIONS_ENABLED::${SECRET_EXISTS} - name: Checkout if: steps.value_holder.outputs.ACTIONS_ENABLED