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 9047536 commit acfddef
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/fossa-default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,22 @@ on:
workflow_dispatch:

jobs:
check_env:
runs-on: ubuntu-latest
env:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY || ''}}
outputs:
FOSSA_API_KEY: $FOSSA_API_KEY

fossa:
if: ${{ secrets.FOSSA_API_KEY != ''}}
needs: check_env
if: ${{ needs.check_env.FOSSA_API_KEY != '' }}
runs-on: ubuntu-latest
env:
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY}}
ORG: ${{ github.repository_owner }}
REPO: ${{ github.repository }}
CUSTOM_PROPS_PAT: ${{ secrets.FOSSA_PAT }}

strategy:
fail-fast: false

Expand Down

0 comments on commit acfddef

Please sign in to comment.