# 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 }}

Add FOSSA workflow to enable license scanning
Add FOSSA workflow to enable license scanning