File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 3
2
+ server : https://app.fossa.com
3
+ project :
4
+ id : " kafka-connect-splunk"
5
+ team : " TA-Automation"
Original file line number Diff line number Diff line change 5
5
branches-ignore :
6
6
- /^release\/.*/
7
7
- master
8
+ workflow_call :
9
+ secrets :
10
+ FOSSA_API_KEY :
11
+ description : API token for FOSSA app
12
+ required : true
8
13
9
14
jobs :
15
+ fossa-scan :
16
+ continue-on-error : true
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v3
20
+ - name : run fossa anlyze and create report
21
+ run : |
22
+ curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
23
+ fossa analyze --debug
24
+ fossa report attribution --format text > /tmp/THIRDPARTY
25
+ env :
26
+ FOSSA_API_KEY : ${{ secrets.FOSSA_API_KEY }}
27
+ - name : upload THIRDPARTY file
28
+ uses : actions/upload-artifact@v2
29
+ with :
30
+ name : THIRDPARTY
31
+ path : /tmp/THIRDPARTY
32
+ - name : run fossa test
33
+ run : |
34
+ fossa test --debug
35
+ env :
36
+ FOSSA_API_KEY : ${{ secrets.FOSSA_API_KEY }}
10
37
11
38
build-unit-test :
12
39
name : build and run unit test
13
40
runs-on : ubuntu-20.04
41
+ needs :
42
+ - fossa-scan
14
43
steps :
15
44
- name : Checkout
16
45
uses : actions/checkout@v2
You can’t perform that action at this time.
0 commit comments