...

Text file src/github.com/distribution/reference/.github/workflows/fossa.yml

Documentation: github.com/distribution/reference/.github/workflows

     1name: FOSSA License Scanning
     2
     3concurrency:
     4  group: ${{ github.workflow }}-${{ github.ref }}
     5  cancel-in-progress: true
     6
     7on:
     8  - pull_request
     9  - push
    10
    11permissions:
    12  contents: read # to fetch code (actions/checkout)
    13
    14jobs:
    15  scan-license:
    16    runs-on: ubuntu-latest
    17
    18    steps:
    19      - name: Checkout code
    20        uses: actions/checkout@v3
    21
    22      - name: Run FOSSA scan and upload build data
    23        uses: fossa-contrib/fossa-action@v2
    24        with:
    25          fossa-api-key: cac3dc8d4f2ba86142f6c0f2199a160f

View as plain text