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
|
2023-02-13 16:43:23 +00:00
|
|
|
uses: fossa-contrib/fossa-action@v2
|
2021-04-20 15:35:04 +00:00
|
|
|
with:
|
|
|
|
fossa-api-key: cac3dc8d4f2ba86142f6c0f2199a160f
|