Message ID | 20230924122231.716878-10-stefan@datenfreihafen.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | wpan-tools: switch to SPDX header for license and copyright | expand |
diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml new file mode 100644 index 0000000..194a7d7 --- /dev/null +++ b/.github/workflows/reuse.yml @@ -0,0 +1,19 @@ +# SPDX-FileCopyrightText: 2023 Stefan Schmidt <stefan@datenfreihafen.org> +# +# SPDX-License-Identifier: ISC + +name: Check for REUSE compliance of wpan-tools +on: push + +jobs: + reuse: + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v4 + - name: Install reuse tool + run: pip3 install reuse + - name: Run reuse lint + run: reuse lint + - name: Create SBOM + run: reuse spdx > sbom.txt
The linter ensures we can catch problems early on and keeps the codebase reuse compliant. A big step for ard for all downstream users who care about license compliance and SBOM generation. As extra step we generate a SBOM file as artifact. Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org> --- .github/workflows/reuse.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/reuse.yml