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 55 branches-ignore :
66 - /^release\/.*/
77 - master
8+ workflow_call :
9+ secrets :
10+ FOSSA_API_KEY :
11+ description : API token for FOSSA app
12+ required : true
813
914jobs :
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 }}
1037
1138 build-unit-test :
1239 name : build and run unit test
1340 runs-on : ubuntu-20.04
41+ needs :
42+ - fossa-scan
1443 steps :
1544 - name : Checkout
1645 uses : actions/checkout@v2
You can’t perform that action at this time.
0 commit comments