From 2c002c7fce6f0b917e81a53e8f3c34deed70b67a Mon Sep 17 00:00:00 2001 From: Enrico Marugliano Date: Thu, 17 Feb 2022 12:48:17 +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 }}