Skip to content

Commit

Permalink
Add REUSE tool to CI
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
aalexanderr committed Sep 12, 2023
1 parent 041ba33 commit 1412124
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/license-copyrights.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1412124

Please sign in to comment.