2021-04-20 15:35:04 +00:00
|
|
|
name: FOSSA License Scanning
|
|
|
|
|
2022-11-26 13:09:19 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2021-04-20 15:35:04 +00:00
|
|
|
on:
|
|
|
|
- pull_request
|
|
|
|
- push
|
|
|
|
|
2022-09-24 06:53:15 +00:00
|
|
|
permissions:
|
|
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
|
2021-04-20 15:35:04 +00:00
|
|
|
jobs:
|
2021-06-30 07:20:39 +00:00
|
|
|
scan-license:
|
2021-04-20 15:35:04 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
2023-12-29 23:06:01 +00:00
|
|
|
uses: actions/checkout@v4
|
2021-04-20 15:35:04 +00:00
|
|
|
|
|
|
|
- name: Run FOSSA scan and upload build data
|
2024-01-01 01:54:25 +00:00
|
|
|
uses: fossa-contrib/fossa-action@v3
|
2021-04-20 15:35:04 +00:00
|
|
|
with:
|
|
|
|
fossa-api-key: cac3dc8d4f2ba86142f6c0f2199a160f
|