-
-
Notifications
You must be signed in to change notification settings - Fork 6
35 lines (31 loc) · 872 Bytes
/
fossa.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: FOSSA license scan
on:
workflow_dispatch:
push:
branches:
- '**'
paths-ignore:
- 'metadata/**'
- 'legal/**'
- '**.md'
- '.github/workflows/**'
- '.github/FUNDING.yml'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repo including backpack submodule
uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Install FOSSA CLI
run: "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | sudo bash"
- name: Run FOSSA scan
env:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
run: fossa analyze