From d7afba0ad01eed6e420bf017cc69b7f767f95cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A8=E3=83=AA=E3=82=B9?= Date: Sun, 23 Nov 2025 13:04:10 +0900 Subject: [PATCH] chore: update release audit workflow & license headers (#1870) --- .gitattributes | 17 ++++++++++++ .github/workflows/release-audit.yml | 16 ++++++------ .gitignore | 17 ++++++++++++ .npmignore | 17 ++++++++++++ .npmrc | 18 ++++++++++++- .ratignore | 40 +++++++++++++++++++---------- .reviewboardrc | 17 ++++++++++++ 7 files changed, 120 insertions(+), 22 deletions(-) diff --git a/.gitattributes b/.gitattributes index ed246870..9224bf7f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,20 @@ +# 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. + * text eol=lf # source code diff --git a/.github/workflows/release-audit.yml b/.github/workflows/release-audit.yml index 33c8e65a..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@v5 + - 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@v5 + - 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/.gitignore b/.gitignore index 2d13b2c6..aec87e52 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,20 @@ +# 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. + .DS_Store .gradle .metadata diff --git a/.npmignore b/.npmignore index 9fdc54d9..1cd98fee 100644 --- a/.npmignore +++ b/.npmignore @@ -1,3 +1,20 @@ +# 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. + .* coverage test diff --git a/.npmrc b/.npmrc index 24358ae2..7cff3238 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,18 @@ -registry=https://registry.npmjs.org +# 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. +registry=https://registry.npmjs.org diff --git a/.ratignore b/.ratignore index 89fbaa9e..60beb562 100644 --- a/.ratignore +++ b/.ratignore @@ -1,13 +1,27 @@ -\.(.*) -(.*).txt -coverage -fixtures -generated -gitignore -intermediates -reports -test-results -node_modules -gradle -gradlew -gradlew.bat +# 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/ +framework/build/ +node_modules/ +spec/fixtures/ +templates/project/gitignore +test/androidx/app/.gitignore +test/androidx/app/build/ +test/androidx/build/ +test/androidx/tools/ diff --git a/.reviewboardrc b/.reviewboardrc index 9e68a2ee..1f6a33a4 100644 --- a/.reviewboardrc +++ b/.reviewboardrc @@ -1,3 +1,20 @@ +# 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. + # # Settings for post-review (used for uploading diffs to reviews.apache.org). #