Skip to content

Commit 8778c25

Browse files
committed
Use env for fossa api key
Signed-off-by: zhujian <[email protected]>
1 parent 4117917 commit 8778c25

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/fossa-license-scanning.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ jobs:
2929
- name: Run FOSSA scan and upload build data
3030
uses: fossas/fossa-action@main
3131
with:
32-
api-key: ${{ secrets.FOSSA_API_KEY }}
32+
api-key: ${{ env.fossa_api_key }}
3333
debug: true
34+
env:
35+
fossa_api_key: ${{ secrets.FOSSA_API_KEY }}
3436
- uses: actions/upload-artifact@v4
3537
with:
3638
name: fossa.debug.json.gz

0 commit comments

Comments
 (0)