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-electron.git
The following commit(s) were added to refs/heads/master by this push: new d3516c3 ci(workflow): update release-audit & license config (#283) d3516c3 is described below commit d3516c3f613d12ac8b195943599490a235013801 Author: エリス <er...@users.noreply.github.com> AuthorDate: Sun Jul 20 18:32:58 2025 +0900 ci(workflow): update release-audit & license config (#283) --- .github/workflows/release-audit.yml | 24 ++++++++++++------ licence_checker.yml | 50 +++---------------------------------- 2 files changed, 21 insertions(+), 53 deletions(-) diff --git a/.github/workflows/release-audit.yml b/.github/workflows/release-audit.yml index 8309094..6d1c813 100644 --- a/.github/workflows/release-audit.yml +++ b/.github/workflows/release-audit.yml @@ -6,18 +6,27 @@ # "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 +# 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 +# KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. name: Release Auditing -on: [push, pull_request] +on: + push: + branches-ignore: + - 'dependabot/**' + pull_request: + branches: + - '*' + +permissions: + contents: read jobs: test: @@ -27,8 +36,8 @@ jobs: # Checkout project - uses: actions/checkout@v4 - # Check license headers - - uses: erisu/apache-rat-action@555ae80334a535eb6c1f8920b121563a5a985a75 + # Check license headers (v1.2.0) + - uses: erisu/apache-rat-action@3127a8c18f3bb10e91c60e835144085b31c5c463 # Setup environment with node - uses: actions/setup-node@v4 @@ -39,7 +48,8 @@ jobs: - name: npm install packages run: npm i - # Check node package licenses - - uses: erisu/license-checker-action@e929758f9416f30234ac454fc9054ca4b803871d + # 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/licence_checker.yml b/licence_checker.yml index 683f926..6456f79 100644 --- a/licence_checker.yml +++ b/licence_checker.yml @@ -6,56 +6,14 @@ # "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 +# 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 +# KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -# Compiled list of allowed 3RD PARTY LICENSES from: -# -# ASF CATEGORY A: WHAT CAN WE INCLUDE IN AN ASF PROJECT -# https://www.apache.org/legal/resolved.html#category-a -# -# Licenses converted into the SPDX standardized short identifier format. -# https://spdx.org/licenses/ -allowed-licenses: - - 0BSD - - AFL-3.0 - - Apache-1.1 - - Apache-2.0 - - APAFML - - BlueOak-1.0.0 - - BSD-2-Clause - - BSD-3-Clause - - BSD-3-Clause-LBNL - - BSL-1.0 - - CC-PDDC - - CC0-1.0 - - EPICS - - HPND - - ICU - - ISC - - MIT - - MIT-0 - - MS-PL - - MulanPSL-2.0 - - NCSA - - OGL-UK-3.0 - - PHP-3.01 - - PostgreSQL - - PSF-2.0 - - Python-2.0 - - SMLNJ - - Unicode-DFS-2016 - - Unlicense - - UPL-1.0 - - W3C - - WTFPL - - X11 - - Xnet - - Zlib - - ZPL-2.0 +# Empty for the release audit workflow. +# The `license-config` is required even if there are no custom configs --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org