mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-03-05 11:10:58 +00:00
chore(ci): added fossa license check
Signed-off-by: ptx96 <pietroterrizzi@gmail.com>
This commit is contained in:
committed by
Dario Tranchitella
parent
e7f871d2f5
commit
eafdddec3e
27
.github/workflows/fossa.yml
vendored
Normal file
27
.github/workflows/fossa.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: FOSSA
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "*" ]
|
||||
pull_request:
|
||||
branches: [ "*" ]
|
||||
|
||||
jobs:
|
||||
fossa-scan:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: "Checkout Code"
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: "Run FOSSA Scan"
|
||||
uses: fossas/fossa-action@v1.3.1
|
||||
with:
|
||||
api-key: ${{ secrets.FOSSA_API_KEY }}
|
||||
container: ubuntu:20.04
|
||||
|
||||
- name: "Run FOSSA Test"
|
||||
uses: fossas/fossa-action@v1.3.1
|
||||
with:
|
||||
api-key: ${{ secrets.FOSSA_API_KEY }}
|
||||
container: ubuntu:20.04
|
||||
run-tests: true
|
||||
Reference in New Issue
Block a user