mirror of
https://github.com/distribution/distribution.git
synced 2026-07-17 11:30:05 +00:00
28 lines
654 B
YAML
28 lines
654 B
YAML
name: FOSSA License Scanning
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
- pull_request
|
|
- push
|
|
|
|
permissions:
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
jobs:
|
|
scan-license:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Run FOSSA scan and upload build data
|
|
uses: fossa-contrib/fossa-action@3d2ef181b1820d6dcd1972f86a767d18167fa19b # v3.0.1
|
|
with:
|
|
fossa-api-key: cac3dc8d4f2ba86142f6c0f2199a160f
|