File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,25 @@ name: Scancode
22
33on : [pull_request]
44
5+ permissions :
6+ contents : read
7+
58jobs :
69 scancode_job :
7- runs-on : ubuntu-20 .04
10+ runs-on : ubuntu-24 .04
811 name : Scan code for licenses
912 steps :
1013 - name : Checkout the code
11- uses : actions/checkout@v4
14+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15+ with :
16+ fetch-depth : 0
1217 - name : Scan the code
1318 id : scancode
14- uses : zephyrproject-rtos/action_scancode@v4
19+ uses : zephyrproject-rtos/action_scancode@23ef91ce31cd4b954366a7b71eea47520da9b380 # v4
1520 with :
1621 directory-to-scan : ' scan/'
1722 - name : Artifact Upload
18- uses : actions/upload-artifact@v4
23+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
1924 with :
2025 name : scancode
2126 path : ./artifacts
You can’t perform that action at this time.
0 commit comments