.github/workflows/fossa.yaml
raw| 1 | name: FOSSA Analysis |
| 2 | on: push |
| 3 | |
| 4 | permissions: |
| 5 | contents: read |
| 6 | |
| 7 | jobs: |
| 8 | |
| 9 | build: |
| 10 | runs-on: ubuntu-latest |
| 11 | if: github.repository_owner == 'uber-go' |
| 12 | steps: |
| 13 | - name: Checkout code |
| 14 | uses: actions/checkout@v4 |
| 15 | |
| 16 | - name: FOSSA analysis |
| 17 | uses: fossas/fossa-action@v1 |
| 18 | with: |
| 19 | api-key: ${{ secrets.FOSSA_API_KEY }} |
| 20 |