Skip to content

Commit

Permalink
Use env for fossa api key
Browse files Browse the repository at this point in the history
Signed-off-by: zhujian <[email protected]>
  • Loading branch information
zhujian7 committed Feb 17, 2025
1 parent 4117917 commit 8778c25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/fossa-license-scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ jobs:
- name: Run FOSSA scan and upload build data
uses: fossas/fossa-action@main
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
api-key: ${{ env.fossa_api_key }}
debug: true
env:
fossa_api_key: ${{ secrets.FOSSA_API_KEY }}
- uses: actions/upload-artifact@v4
with:
name: fossa.debug.json.gz
Expand Down

0 comments on commit 8778c25

Please sign in to comment.