Skip to content

Commit 0700e90

Browse files
committed
fix: fossa if conditions checks string value of HAS_FOSSA_API_KEY
1 parent d5a9043 commit 0700e90

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.github/workflows/fossa-caos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
fossa:
2121
needs: check_env
22-
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY }}
22+
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY == 'true' }}
2323
runs-on: ubuntu-latest
2424
env:
2525
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}

.github/workflows/fossa-default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
fossa:
2121
needs: check_env
22-
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY }}
22+
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY == 'true' }}
2323
runs-on: ubuntu-latest
2424
env:
2525
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}

.github/workflows/fossa-elixir.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
fossa:
2121
needs: check_env
22-
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY }}
22+
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY == 'true' }}
2323
runs-on: ubuntu-latest
2424
env:
2525
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}

.github/workflows/fossa-gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
fossa:
2121
needs: check_env
22-
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY }}
22+
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY == 'true' }}
2323
runs-on: ubuntu-latest
2424
env:
2525
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}

.github/workflows/fossa-ruby-bundler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
fossa:
2121
needs: check_env
22-
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY }}
22+
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY == 'true' }}
2323
runs-on: ubuntu-latest
2424
env:
2525
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}

.github/workflows/fossa-scala.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
fossa:
2121
needs: check_env
22-
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY }}
22+
if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY == 'true' }}
2323
runs-on: ubuntu-latest
2424
env:
2525
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}

0 commit comments

Comments
 (0)