Skip to content

Commit

Permalink
Merge pull request #17 from newrelic-csec/elaguerta-nr-patch-1
Browse files Browse the repository at this point in the history
Update fossa-default.yml
  • Loading branch information
elaguerta-nr authored May 17, 2024
2 parents acfddef + 15c77c7 commit 7362129
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 7362129

Please sign in to comment.