From 15c77c7f622eb1ca4a74dcc2664e9edfdf755565 Mon Sep 17 00:00:00 2001 From: elaguerta-nr <148913307+elaguerta-nr@users.noreply.github.com> Date: Fri, 17 May 2024 11:24:00 -0700 Subject: [PATCH] Update fossa-default.yml --- .github/workflows/fossa-default.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/fossa-default.yml b/.github/workflows/fossa-default.yml index 5fe0e8d..4939866 100644 --- a/.github/workflows/fossa-default.yml +++ b/.github/workflows/fossa-default.yml @@ -10,13 +10,11 @@ jobs: check_env: runs-on: ubuntu-latest env: - FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY || ''}} - outputs: - FOSSA_API_KEY: $FOSSA_API_KEY + HAS_FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY != '' }} fossa: needs: check_env - if: ${{ needs.check_env.FOSSA_API_KEY != '' }} + if: ${{ needs.check_env.HAS_FOSSA_API_KEY }} runs-on: ubuntu-latest env: FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY}}