From eafdddec3e14c78d9b2ce2616ae63342040d028d Mon Sep 17 00:00:00 2001 From: ptx96 Date: Thu, 28 Sep 2023 10:26:44 +0200 Subject: [PATCH] chore(ci): added fossa license check Signed-off-by: ptx96 --- .github/workflows/fossa.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/fossa.yml diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml new file mode 100644 index 00000000..a56ba66d --- /dev/null +++ b/.github/workflows/fossa.yml @@ -0,0 +1,27 @@ +name: FOSSA + +on: + push: + branches: [ "*" ] + pull_request: + branches: [ "*" ] + +jobs: + fossa-scan: + runs-on: ubuntu-20.04 + steps: + - name: "Checkout Code" + uses: actions/checkout@v3 + + - name: "Run FOSSA Scan" + uses: fossas/fossa-action@v1.3.1 + with: + api-key: ${{ secrets.FOSSA_API_KEY }} + container: ubuntu:20.04 + + - name: "Run FOSSA Test" + uses: fossas/fossa-action@v1.3.1 + with: + api-key: ${{ secrets.FOSSA_API_KEY }} + container: ubuntu:20.04 + run-tests: true