Skip to content

Commit 96652ff

Browse files
committed
Added fossa to test in the workflow
Signed-off-by: Amulya Varote <[email protected]>
1 parent 35c0183 commit 96652ff

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/fossa.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,19 @@ on:
1818
jobs:
1919
fossa-scan:
2020
runs-on: ubuntu-latest
21+
env:
22+
FOSSA_API_KEY: b88e1f4287c3108c8751bf106fb46db6
2123
steps:
2224
- name: "Checkout code"
2325
uses: actions/checkout@v3
2426

2527
- name: "Run FOSSA Scan"
2628
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
2729
with:
28-
api-key: b88e1f4287c3108c8751bf106fb46db6 # This is a PUSH ONLY token that is safe to be shared with the public
30+
api-key: ${{ env.FOSSA_API_KEY }} # This is a PUSH ONLY token that is safe to be shared with the public
31+
32+
- name: "Run FOSSA Test"
33+
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
34+
with:
35+
api-key: ${{ env.FOSSA_API_KEY }}
36+
run-tests: true

0 commit comments

Comments
 (0)