File tree Expand file tree Collapse file tree 2 files changed +79
-0
lines changed Expand file tree Collapse file tree 2 files changed +79
-0
lines changed Original file line number Diff line number Diff line change 1+ name : SCANOSS PR Scan
2+ on :
3+ workflow_dispatch :
4+ pull_request :
5+ types : [opened, synchronize, reopened]
6+
7+ permissions :
8+ contents : read
9+ # pull-requests: write
10+ checks : write
11+ actions : read
12+
13+ jobs :
14+ baseline :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v4
18+
19+ - name : Run SCANOSS
20+ id : scan
21+ uses : scanoss/code-scan-action@4203cc83ec5675e190bb0a412e5404dd044efa30 # v1.0.6
22+ with :
23+ dependencies.enabled : false
24+ policies : undeclared
25+ policies.halt_on_failure : true
26+ scanossSettings : true
27+ settingsFilepath : .scanoss.json
28+
29+ - name : Save raw results
30+ run : |
31+ echo "Results at: ${{ steps.scan.outputs.result-filepath }}"
32+ cp "${{ steps.scan.outputs.result-filepath }}" scanoss-results.json
33+
34+ - name : Upload results
35+ uses : actions/upload-artifact@v4
36+ with :
37+ name : scanoss-baseline-results
38+ path : scanoss-results.json
Original file line number Diff line number Diff line change 1+ {
2+ "self" : {
3+ "name" : " theia-cloud" ,
4+ "license" : " EPL-2.0" ,
5+ "description" : " SCANOSS configuration for Theia Cloud"
6+ },
7+ "settings" : {
8+ "skip" : {
9+ "patterns" : {
10+ "scanning" : [
11+ " **/node_modules/" ,
12+ " **/dist/" ,
13+ " **/build/" ,
14+ " **/target/" ,
15+ " **/*.min.*" ,
16+ " **/*.generated.*" ,
17+ " **/*.graphml" ,
18+ " **/*.vsix" ,
19+ " documentation/**"
20+ ],
21+ "fingerprinting" : [" *.log" , " *.tmp" , " **/*test*.*" ]
22+ }
23+ }
24+ },
25+ "bom" : {
26+ "include" : [
27+ { "purl" : " pkg:github/eclipsesource/theia-cloud" },
28+ { "purl" : " pkg:github/eclipse-theia/theia-cloud" },
29+ { "purl" : " pkg:npm/%40eclipse-theiacloud/common" },
30+ { "purl" : " pkg:npm/theiacloud-test" }
31+ ],
32+ "remove" : [
33+ {
34+ "path" : " demo/dockerfiles/demo-theia-monitor-vscode/theia-cloud-monitor-1.1.1.vsix" ,
35+ "purl" : " pkg:github/eclipse-theia/theia-cloud" ,
36+ "comment" : " Build artifact; suppress baseline finding"
37+ }
38+ ],
39+ "replace" : []
40+ }
41+ }
You can’t perform that action at this time.
0 commit comments