From 20b3875158bd7436adf2463d45b12ac55f525980 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Sun, 8 Dec 2024 03:29:35 +0900 Subject: [PATCH] Add GitHub Action "REUSE Compliance Check" It is also possible to check compliance by running reuse as pre-commit hook, which does not depend on GitHub. See: https://reuse.readthedocs.io/en/stable/readme.html#run-as-pre-commit-hook Signed-off-by: Suguru Hirahara --- .github/workflows/reuse.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/reuse.yml diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml new file mode 100644 index 000000000..0ebe20355 --- /dev/null +++ b/.github/workflows/reuse.yml @@ -0,0 +1,20 @@ +# SPDX-FileCopyrightText: 2024 MDAD Team and contributors +# +# SPDX-License-Identifier: AGPL-3.0-or-later + +--- +name: REUSE Compliance Check + +on: # yamllint disable-line rule:truthy + push: + pull_request: + +jobs: + reuse-compliance-check: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: REUSE Compliance Check + uses: fsfe/reuse-action@v5