File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Dependency License Scanning
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - chore/fossa-workflow
8
+
9
+ defaults :
10
+ run :
11
+ shell : bash
12
+
13
+ jobs :
14
+ fossa :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v3
19
+ - name : Download fossa cli
20
+ run : |-
21
+ mkdir -p $HOME/.local/bin
22
+ curl https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash -s -- -b $HOME/.local/bin
23
+ echo "$HOME/.local/bin" >> $GITHUB_PATH
24
+
25
+ - name : Configuration
26
+ run : |-
27
+ echo -e "version: 3\nproject:\n id: git@github.com:${GITHUB_REPOSITORY}.git\npaths:\n exclude:\n - ./tests" > .fossa.yml
28
+ cat .fossa.yml
29
+ - name : Upload dependencies
30
+ run : FOSSA_TELEMETRY_SCOPE=off fossa analyze --debug
31
+ env :
32
+ FOSSA_API_KEY : ${{ secrets.FOSSA_API_KEY }}
You can’t perform that action at this time.
0 commit comments