From 379e682c025df3a9add9c865fd3f418cda22cd13 Mon Sep 17 00:00:00 2001 From: Erisu Date: Sun, 23 Nov 2025 02:39:55 +0900 Subject: [PATCH] chore: update release audit workflow & license headers --- .asf.yaml | 4 ++-- .eslintignore | 19 ++++++++++++++++++- .github/workflows/release-audit.yml | 16 ++++++++-------- .ratignore | 24 ++++++++++++++++++++---- 4 files changed, 48 insertions(+), 15 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 29a6c7cb..916b61cd 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -5,9 +5,9 @@ # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY diff --git a/.eslintignore b/.eslintignore index a5471417..a23d3eb3 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1 +1,18 @@ -cordova-lib/cordova.js \ No newline at end of file +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +cordova-lib/cordova.js diff --git a/.github/workflows/release-audit.yml b/.github/workflows/release-audit.yml index 6d1c8136..52798d4a 100644 --- a/.github/workflows/release-audit.yml +++ b/.github/workflows/release-audit.yml @@ -34,22 +34,22 @@ jobs: runs-on: ubuntu-latest steps: # Checkout project - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - # Check license headers (v1.2.0) - - uses: erisu/apache-rat-action@3127a8c18f3bb10e91c60e835144085b31c5c463 + # Check license headers (v2.0.0) + - uses: erisu/apache-rat-action@46fb01ce7d8f76bdcd7ab10e7af46e1ea95ca01c # Setup environment with node - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: 20 + node-version: 24 # Install node packages - name: npm install packages - run: npm i + run: npm ci - # Check node package licenses (v2.0.0) - - uses: erisu/license-checker-action@1c222d0c2f5898a4c40b8bd6fd6888650bd6f68a + # Check node package licenses (v2.0.1) + - uses: erisu/license-checker-action@99cffa11264fe545fd0baa6c13bca5a00ae608f2 with: license-config: 'licence_checker.yml' include-asf-category-a: true diff --git a/.ratignore b/.ratignore index 3d5471b6..7d219349 100644 --- a/.ratignore +++ b/.ratignore @@ -1,5 +1,21 @@ -\.(.*) -(.*).txt -coverage -node_modules +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +.git/ +coverage/ +node_modules/ VERSION