You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2025/07/20 03:32:41 UTC
(cordova-create) branch master updated: ci(workflow): add release-audit & license config (#93)
This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-create.git
The following commit(s) were added to refs/heads/master by this push:
new 52abe19 ci(workflow): add release-audit & license config (#93)
52abe19 is described below
commit 52abe198eff96750bdb514bd04efaca4526b9072
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Sun Jul 20 12:32:36 2025 +0900
ci(workflow): add release-audit & license config (#93)
---
.github/workflows/release-audit.yml | 55 +++++++++++++++++++++++++++++++++++++
.gitignore | 17 ++++++++++++
.npmignore | 17 ++++++++++++
.ratignore | 3 ++
licence_checker.yml | 19 +++++++++++++
5 files changed, 111 insertions(+)
diff --git a/.github/workflows/release-audit.yml b/.github/workflows/release-audit.yml
new file mode 100644
index 0000000..6d1c813
--- /dev/null
+++ b/.github/workflows/release-audit.yml
@@ -0,0 +1,55 @@
+# 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.
+
+name: Release Auditing
+
+on:
+ push:
+ branches-ignore:
+ - 'dependabot/**'
+ pull_request:
+ branches:
+ - '*'
+
+permissions:
+ contents: read
+
+jobs:
+ test:
+ name: Audit Licenses
+ runs-on: ubuntu-latest
+ steps:
+ # Checkout project
+ - uses: actions/checkout@v4
+
+ # Check license headers (v1.2.0)
+ - uses: erisu/apache-rat-action@3127a8c18f3bb10e91c60e835144085b31c5c463
+
+ # Setup environment with node
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 20
+
+ # Install node packages
+ - name: npm install packages
+ run: npm i
+
+ # Check node package licenses (v2.0.0)
+ - uses: erisu/license-checker-action@1c222d0c2f5898a4c40b8bd6fd6888650bd6f68a
+ with:
+ license-config: 'licence_checker.yml'
+ include-asf-category-a: true
diff --git a/.gitignore b/.gitignore
index ffddc1a..2845046 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.
+
node_modules
npm-debug.log
.idea/*
diff --git a/.npmignore b/.npmignore
index ee8a59d..f239de5 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.
+
.*
spec
coverage
diff --git a/.ratignore b/.ratignore
new file mode 100644
index 0000000..297de45
--- /dev/null
+++ b/.ratignore
@@ -0,0 +1,3 @@
+\.(.*)
+coverage
+node_modules
diff --git a/licence_checker.yml b/licence_checker.yml
new file mode 100644
index 0000000..c777fe9
--- /dev/null
+++ b/licence_checker.yml
@@ -0,0 +1,19 @@
+# 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.
+
+ignored-packages:
+ - spdx-exceptions@2.5.0
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org