# 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 1 # Check license headers (v3.0.0) - uses: erisu/apache-rat-action@30c94d10ed21e6f6fd5590dc5c158f58cae7a0dd # Setup environment with node - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: 24 # Install node packages - name: npm install packages run: npm ci # Check node package licenses (v2.1.0) - uses: erisu/license-checker-action@04511f4c052b5773f11e1c65b42cda88235c62ae with: license-config: 'licence_checker.yml' include-asf-category-a: true