Skip to content

Commit

Permalink
ci: use env var
Browse files Browse the repository at this point in the history
Signed-off-by: KeHaoKH <hao.ke@merico.dev>
  • Loading branch information
KeHaohaoke committed Jun 28, 2022
1 parent 5c28b64 commit 3cfa9a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/license-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
branches:
- main

env:
fossa-api-key: ${{ secrets.FOSSA_PUSH_ONLY_API_KEY }}

jobs:
fossa:
runs-on: ubuntu-latest
Expand All @@ -14,5 +17,5 @@ jobs:
- uses: fossa-contrib/fossa-action@v1
with:
# https://docs.fossa.com/docs/api-reference#push-only-api-token
fossa-api-key: ${{ secrets.FOSSA_PUSH_ONLY_API_KEY }}
fossa-api-key: fossa-api-key

0 comments on commit 3cfa9a8

Please sign in to comment.