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 <acioustick@noreply.codeberg.org>
This commit is contained in:
Suguru Hirahara 2024-12-08 03:29:35 +09:00
parent 6abe569213
commit 20b3875158
No known key found for this signature in database
GPG Key ID: E4F9743DAB4B7B75

20
.github/workflows/reuse.yml vendored Normal file
View File

@ -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