|
6 | 6 | # "License"); you may not use this file except in compliance
|
7 | 7 | # with the License. You may obtain a copy of the License at
|
8 | 8 | #
|
9 |
| -# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
10 | 10 | #
|
11 | 11 | # Unless required by applicable law or agreed to in writing,
|
12 | 12 | # software distributed under the License is distributed on an
|
13 | 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14 |
| -# KIND, either express or implied. See the License for the |
| 14 | +# KIND, either express or implied. See the License for the |
15 | 15 | # specific language governing permissions and limitations
|
16 | 16 | # under the License.
|
17 | 17 |
|
|
25 | 25 | branches:
|
26 | 26 | - '*'
|
27 | 27 |
|
| 28 | +permissions: |
| 29 | + contents: read |
| 30 | + |
28 | 31 | jobs:
|
29 | 32 | test:
|
30 | 33 | name: Audit Licenses
|
|
33 | 36 | # Checkout project
|
34 | 37 | - uses: actions/checkout@v4
|
35 | 38 |
|
36 |
| - # Check license headers |
37 |
| - - uses: erisu/apache-rat-action@v1 |
| 39 | + # Check license headers (v1.2.0) |
| 40 | + - uses: erisu/apache-rat-action@3127a8c18f3bb10e91c60e835144085b31c5c463 |
38 | 41 |
|
39 | 42 | # Setup environment with node
|
40 | 43 | - uses: actions/setup-node@v4
|
|
45 | 48 | - name: npm install packages
|
46 | 49 | run: npm i
|
47 | 50 |
|
48 |
| - # Check node package licenses |
49 |
| - - uses: erisu/license-checker-action@e929758f9416f30234ac454fc9054ca4b803871d |
| 51 | + # Check node package licenses (v2.0.0) |
| 52 | + - uses: erisu/license-checker-action@1c222d0c2f5898a4c40b8bd6fd6888650bd6f68a |
50 | 53 | with:
|
51 | 54 | license-config: 'licence_checker.yml'
|
| 55 | + include-asf-category-a: true |
0 commit comments