From 3cfa9a8fe2c138dd857b7718a11bd47f22003096 Mon Sep 17 00:00:00 2001 From: KeHaoKH Date: Wed, 29 Jun 2022 00:35:28 +0800 Subject: [PATCH] ci: use env var Signed-off-by: KeHaoKH --- .github/workflows/license-scan.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/license-scan.yml b/.github/workflows/license-scan.yml index a3714b0cc..328b16cb3 100644 --- a/.github/workflows/license-scan.yml +++ b/.github/workflows/license-scan.yml @@ -4,6 +4,9 @@ on: branches: - main +env: + fossa-api-key: ${{ secrets.FOSSA_PUSH_ONLY_API_KEY }} + jobs: fossa: runs-on: ubuntu-latest @@ -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