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