From 5763e2621df29138029053caa7f493c71d499384 Mon Sep 17 00:00:00 2001 From: Nikolay Govorov Date: Fri, 24 Jul 2026 04:10:25 +0100 Subject: Add legal workflow --- .github/workflows/legal.yml | 33 +++++++++++++++++++++++++++++++++ .mailmap | 4 ++++ REUSE.toml | 7 +++++++ mise.toml | 11 +++++++++++ 4 files changed, 55 insertions(+) create mode 100644 .github/workflows/legal.yml create mode 100644 .mailmap create mode 100644 mise.toml diff --git a/.github/workflows/legal.yml b/.github/workflows/legal.yml new file mode 100644 index 0000000..fa81430 --- /dev/null +++ b/.github/workflows/legal.yml @@ -0,0 +1,33 @@ +# SPDX-FileCopyrightText: 2026 Nikolay Govorov +# SPDX-License-Identifier: 0BSD + +name: Legal + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + legal: + name: Legal checks + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + with: + fetch-depth: 0 + + - uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3 + with: + version: 2026.7.5 + experimental: true + + - name: Check contribution sign-off + run: mise run signoff + + - name: Check licensing policy + run: mise run licenses diff --git a/.mailmap b/.mailmap new file mode 100644 index 0000000..d8e0402 --- /dev/null +++ b/.mailmap @@ -0,0 +1,4 @@ +# Add new entries in alphabetical order + +Nikolay Govorov +Nikolay Govorov diff --git a/REUSE.toml b/REUSE.toml index f4aa259..bff4b49 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -16,3 +16,10 @@ path = [ ] SPDX-FileCopyrightText = "2026 Nikolay Govorov" SPDX-License-Identifier = "CC-BY-3.0" + +[[annotations]] +path = [ + ".mailmap", +] +SPDX-FileCopyrightText = "2026 Nikolay Govorov" +SPDX-License-Identifier = "0BSD" diff --git a/mise.toml b/mise.toml new file mode 100644 index 0000000..d9dc88f --- /dev/null +++ b/mise.toml @@ -0,0 +1,11 @@ +# SPDX-FileCopyrightText: 2026 Nikolay Govorov +# SPDX-License-Identifier: 0BSD + +min_version = "2026.7.5" + +[settings] +experimental = true + +[task_config] +dir = "{{cwd}}" +includes = ["tasks"] -- Gilti