Skip to content

Commit

Permalink
fix: fossa if conditions checks string value of HAS_FOSSA_API_KEY
Browse files Browse the repository at this point in the history
  • Loading branch information
elaguerta-nr committed May 21, 2024
1 parent d5a9043 commit 0700e90
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fossa-caos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

fossa:
needs: check_env
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY }}
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY == 'true' }}
runs-on: ubuntu-latest
env:
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fossa-default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

fossa:
needs: check_env
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY }}
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY == 'true' }}
runs-on: ubuntu-latest
env:
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fossa-elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

fossa:
needs: check_env
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY }}
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY == 'true' }}
runs-on: ubuntu-latest
env:
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fossa-gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

fossa:
needs: check_env
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY }}
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY == 'true' }}
runs-on: ubuntu-latest
env:
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fossa-ruby-bundler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

fossa:
needs: check_env
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY }}
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY == 'true' }}
runs-on: ubuntu-latest
env:
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fossa-scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

fossa:
needs: check_env
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY }}
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY == 'true' }}
runs-on: ubuntu-latest
env:
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}
Expand Down

0 comments on commit 0700e90

Please sign in to comment.