From dae8ca5e4e2b96eb2d8ec45719dff3af8cbdb3d3 Mon Sep 17 00:00:00 2001 From: Frank Dana Date: Sat, 16 Oct 2021 02:50:25 -0400 Subject: [PATCH] CI: Validate repository licensing with Reuse (#758) --- .github/workflows/reuse.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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 00000000..7af8080a --- /dev/null +++ b/.github/workflows/reuse.yml @@ -0,0 +1,28 @@ +# © OpenShot Studios, LLC +# +# SPDX-License-Identifier: LGPL-3.0-or-later + +# Workflow to run 'reuse lint' via the reuse-action script, +# which will flag any files added or changed in the repo +# that don't have valid, verifiable license data associated +# with them. See the .reuse/ directory in the repo, and +# for more information visit https://reuse.software/ + +name: Validate source licensing + +on: + # Triggers the workflow on push or pull request events but only for the develop branch + push: + branches: [ develop ] + pull_request: + branches: [ develop ] + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: +jobs: + check: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: REUSE Compliance Check + uses: fsfe/reuse-action@v1.1.1