From a485b4fd06f018ce849006ed2ed51481959f9ed1 Mon Sep 17 00:00:00 2001 From: Agarwal-Shivansh <117628143+Agarwal-Shivansh@users.noreply.github.com> Date: Mon, 5 Feb 2024 11:31:10 +0530 Subject: [PATCH] Update FOSSA action to keep API token as a secret --- .github/workflows/master.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 33c891c..9bd823c 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -68,7 +68,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: FOSSA scan - uses: fossa-contrib/fossa-action@v3 + uses: fossas/fossa-action@main with: - fossa-api-key: ba71392b9c3bf6d4ba4e64edeae7f293 + api-key: ${{secrets.fossaApiKey}}