From 1282b35f2d2cb39d711fbe4b8fb61b54703e1b97 Mon Sep 17 00:00:00 2001 From: MacOS Date: Fri, 10 Jul 2026 13:13:54 +0200 Subject: [PATCH 1/5] build(workflows): add workflow reuse-compliance --- .github/workflows/reuse-compliance.yml | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/reuse-compliance.yml diff --git a/.github/workflows/reuse-compliance.yml b/.github/workflows/reuse-compliance.yml new file mode 100644 index 00000000..c6df7f15 --- /dev/null +++ b/.github/workflows/reuse-compliance.yml @@ -0,0 +1,32 @@ +# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. , 2024 Deutsche Telekom AG +# +# SPDX-License-Identifier: CC0-1.0 + +name: REUSE Compliance Check + +on: + push: + branches: + - master + + pull_request: + branches: + - master + + schedule: + # Weekly on Saturdays at 1:30AM + - cron: '30 1 * * 6' + +# Set default permission for all jobs to none +permissions: {} + +jobs: + test-reuse-compliance: + runs-on: ubuntu-22.04 + + steps: + - name: "Checkout Repository" + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + - name: "Run REUSE Compliance Check" + uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5.0.0 \ No newline at end of file From 1f68283683726e21ce7191a0f9ab61f1bfb91210 Mon Sep 17 00:00:00 2001 From: MacOS Date: Fri, 10 Jul 2026 13:19:30 +0200 Subject: [PATCH 2/5] doc(readme): add reuse api status badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bdd2438d..0bcdc8f1 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![Maven Central](https://img.shields.io/maven-central/v/sk.ainet.core/skainet-lang-core.svg)](https://central.sonatype.com/artifact/sk.ainet.core/skainet-lang-core) [![GitHub Contributors](https://img.shields.io/github/contributors/SKaiNET-developers/SKaiNET)](https://github.com/SKaiNET-developers/SKaiNET/graphs/contributors) [![DeepWiki](https://img.shields.io/badge/DeepWiki-View%20Docs-blue?logo=readthedocs&logoColor=white)](https://deepwiki.com/SKaiNET-developers/SKaiNET) +[![REUSE status](https://api.reuse.software/badge/github.com/SKaiNET-developers/SKaiNET)] SKaiNET logo From be263263de50c6943c727b930d1578208afe44a4 Mon Sep 17 00:00:00 2001 From: MacOS Date: Fri, 10 Jul 2026 13:37:16 +0200 Subject: [PATCH 3/5] fix(reuse-badge): missing target link by adding it --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0bcdc8f1..4abf7fe8 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Maven Central](https://img.shields.io/maven-central/v/sk.ainet.core/skainet-lang-core.svg)](https://central.sonatype.com/artifact/sk.ainet.core/skainet-lang-core) [![GitHub Contributors](https://img.shields.io/github/contributors/SKaiNET-developers/SKaiNET)](https://github.com/SKaiNET-developers/SKaiNET/graphs/contributors) [![DeepWiki](https://img.shields.io/badge/DeepWiki-View%20Docs-blue?logo=readthedocs&logoColor=white)](https://deepwiki.com/SKaiNET-developers/SKaiNET) -[![REUSE status](https://api.reuse.software/badge/github.com/SKaiNET-developers/SKaiNET)] +[REUSE status](https://api.reuse.software/badge/github.com/SKaiNET-developers/SKaiNET)](https://api.reuse.software/badge/github.com/SKaiNET-developers/SKaiNET) SKaiNET logo From d8455f22cc0cfe042f39e40afd60a9d46409a39e Mon Sep 17 00:00:00 2001 From: MacOS Date: Fri, 10 Jul 2026 13:40:47 +0200 Subject: [PATCH 4/5] fix(reuse-compliance): wrong branche name by adding the used ones main and develop, where the latter is the current default branch --- .github/workflows/reuse-compliance.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reuse-compliance.yml b/.github/workflows/reuse-compliance.yml index c6df7f15..c8ced7af 100644 --- a/.github/workflows/reuse-compliance.yml +++ b/.github/workflows/reuse-compliance.yml @@ -7,11 +7,13 @@ name: REUSE Compliance Check on: push: branches: - - master + - main + - develop pull_request: branches: - - master + - main + - develop schedule: # Weekly on Saturdays at 1:30AM From 9b17ebac897729d89c3194357ba434e1e874dbcb Mon Sep 17 00:00:00 2001 From: MacOS Date: Fri, 10 Jul 2026 13:47:59 +0200 Subject: [PATCH 5/5] fix(reuse-compliance): set content permission to read on job level to avoid permission issues from the checkout action --- .github/workflows/reuse-compliance.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/reuse-compliance.yml b/.github/workflows/reuse-compliance.yml index c8ced7af..14a9f95c 100644 --- a/.github/workflows/reuse-compliance.yml +++ b/.github/workflows/reuse-compliance.yml @@ -25,6 +25,9 @@ permissions: {} jobs: test-reuse-compliance: runs-on: ubuntu-22.04 + + permissions: + contents: read steps: - name: "Checkout Repository"