From 90987168ff7c1911f9ba334f37d0ab859851a2a8 Mon Sep 17 00:00:00 2001 From: Enrico Marugliano Date: Thu, 17 Feb 2022 12:50:27 +0000 Subject: [PATCH] Add FOSSA workflow to enable license scanning --- .github/workflows/fossa-license-scan.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/fossa-license-scan.yml diff --git a/.github/workflows/fossa-license-scan.yml b/.github/workflows/fossa-license-scan.yml new file mode 100644 index 00000000..310a9a71 --- /dev/null +++ b/.github/workflows/fossa-license-scan.yml @@ -0,0 +1,24 @@ +# More information on this workflow can be found here: https://stackoverflow.com/c/intercom/questions/1270 + +name: FOSSA License Scan + +on: + push: + branches: + - master + +jobs: + fossa: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Attempt build + uses: intercom/attempt-build-action@main + continue-on-error: true + - name: Run FOSSA + uses: intercom/fossa-action@main + with: + fossa-api-key: ${{ secrets.FOSSA_API_KEY }} + fossa-event-receiver-token: ${{ secrets.FOSSA_EVENT_RECEIVER_TOKEN }} + datadog-api-key: ${{ secrets.DATADOG_API_KEY }}