From 22b7755f96f01436e9467e9e4c975ba3868ee88d Mon Sep 17 00:00:00 2001 From: Sergei Lukianov Date: Mon, 18 Mar 2024 11:24:38 -0700 Subject: [PATCH] [ci] add fossa job --- .github/workflows/ci.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 59a25d85..fb1f3d67 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -186,6 +186,25 @@ jobs: with: limit-access-to-actor: true + fossa: + runs-on: lab + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: "Run FOSSA Scan" + uses: fossas/fossa-action@main + with: + api-key: ${{secrets.FOSSA_API_KEY}} + + - name: "Run FOSSA Test" + uses: fossas/fossa-action@main + with: + api-key: ${{secrets.FOSSA_API_KEY}} + run-tests: true + publish: runs-on: lab if: startsWith(github.event.ref, 'refs/tags/') && github.event_name == 'push' @@ -194,6 +213,7 @@ jobs: - test - kind-test-api - build + - fossa steps: - name: Checkout repository