Skip to content

Commit

Permalink
Update fossa-default.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
elaguerta-nr authored May 17, 2024
1 parent acfddef commit 15c77c7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/fossa-default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 15c77c7

Please sign in to comment.