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
|
|
|
|
|
|
|
|
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
|
2022-11-26 13:05:57 +00:00
|
|
|
uses: actions/checkout@v3
|
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
|