From d952cf7ff2df4f49701dc8986a598a9f561a0fea Mon Sep 17 00:00:00 2001 From: Alexander Mazuruk Date: Tue, 11 Jul 2023 15:40:04 +0200 Subject: [PATCH] Add REUSE tool to CI It will fail until adherence to REUSE spec is fullfilled. Exclusions are not a valid option due to: https://reuse.software/faq/#exclude-file Thus: continue-on-error: true was added in reuse task until full compliance is achieved. Signed-off-by: Alexander Mazuruk --- .github/workflows/license-copyrights.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/license-copyrights.yaml diff --git a/.github/workflows/license-copyrights.yaml b/.github/workflows/license-copyrights.yaml new file mode 100644 index 00000000000000..a167ac1cf3f0c7 --- /dev/null +++ b/.github/workflows/license-copyrights.yaml @@ -0,0 +1,19 @@ +# SPDX-FileCopyrightText: 2023 Project CHIP Authors +# SPDX-License-Identifier: Apache-2.0 + +name: License Compliance (REUSE spec) +on: + push: + pull_request: + +jobs: + licensing: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: REUSE.software license lint + uses: fsfe/reuse-action@v1 + with: + args: lint + continue-on-error: true