File tree Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ license :
2
+ main : apache-2.0
3
+ category : Permissive
4
+ exclude :
5
+ extensions :
6
+ - yml
7
+ - yaml
8
+ - html
9
+ - rst
10
+ - conf
11
+ - cfg
12
+ - ini
13
+ - toml
14
+ - in
15
+ - txt
16
+ langs :
17
+ - HTML
Original file line number Diff line number Diff line change
1
+ name : Scancode
2
+
3
+ on : [pull_request]
4
+
5
+ jobs :
6
+ scancode_job :
7
+ runs-on : ubuntu-latest
8
+ name : Scan code for licenses
9
+ steps :
10
+ - uses : actions/checkout@v1
11
+ - name : Scan the code
12
+ id : scancode
13
+ uses : zephyrproject-rtos/action_scancode@v1
14
+ with :
15
+ directory-to-scan : ' scan/'
16
+ - name : Artifact Upload
17
+ uses : actions/upload-artifact@v1
18
+ with :
19
+ name : scancode
20
+ path : ./artifacts
21
+
22
+ - name : Verify
23
+ run : |
24
+ test ! -s ./artifacts/report.txt || (cat ./artifacts/report.txt && exit 1 )
Original file line number Diff line number Diff line change
1
+ Remove `licenseheaders` tool and replace it with `scancode`.
You can’t perform that action at this time.
0 commit comments