From 8e7ca5e770d03e067bdb9ca1466dafb731b1dcba Mon Sep 17 00:00:00 2001 From: TobiGr Date: Wed, 14 Oct 2026 12:12:48 +0200 Subject: [PATCH] Add SPDX License headers --- .github/workflows/linked-issue-check.js | 5 +++++ .github/workflows/linked-issue-check.yml | 3 +++ .github/workflows/no-response.yml | 3 +++ .github/workflows/template-label.js | 10 +++++++++- .github/workflows/template-label.yml | 4 ++++ 5 files changed, 24 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linked-issue-check.js b/.github/workflows/linked-issue-check.js index 205dc30d3..bdef75d4a 100644 --- a/.github/workflows/linked-issue-check.js +++ b/.github/workflows/linked-issue-check.js @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2026 NewPipe e.V. + * SPDX-License-Identifier: GPL-3.0-or-later + */ + module.exports = async ({github, context}) => { const pullRequest = context.payload.pull_request; const query = `query($owner: String!, $repo: String!, $number: Int!) { diff --git a/.github/workflows/linked-issue-check.yml b/.github/workflows/linked-issue-check.yml index 570d48254..0bbfdff9a 100644 --- a/.github/workflows/linked-issue-check.yml +++ b/.github/workflows/linked-issue-check.yml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2026 NewPipe e.V. +# SPDX-License-Identifier: GPL-3.0-or-later + name: Check linked issue on: diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml index e4ca81c1f..6b5715f93 100644 --- a/.github/workflows/no-response.yml +++ b/.github/workflows/no-response.yml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2026 NewPipe e.V. +# SPDX-License-Identifier: GPL-3.0-or-later + name: No Response # Both `issue_comment` and `scheduled` event types are required for this Action diff --git a/.github/workflows/template-label.js b/.github/workflows/template-label.js index 6a23dbc85..d26cff2f7 100644 --- a/.github/workflows/template-label.js +++ b/.github/workflows/template-label.js @@ -1,7 +1,15 @@ -const yaml = require('js-yaml'); +/* + * SPDX-FileCopyrightText: 2026 NewPipe e.V. + * SPDX-License-Identifier: GPL-3.0-or-later + */ + /* * Script for commenting on issues/PRs when the template is missing or ignored + * to encourage proper use of the templates. */ + +const yaml = require('js-yaml'); + module.exports = async ({github, context}) => { const label = context.payload.label && context.payload.label.name; diff --git a/.github/workflows/template-label.yml b/.github/workflows/template-label.yml index 55c15e00c..e1c751dde 100644 --- a/.github/workflows/template-label.yml +++ b/.github/workflows/template-label.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021-2022 NewPipe contributors +# SPDX-FileCopyrightText: 2026 NewPipe e.V. +# SPDX-License-Identifier: GPL-3.0-or-later + name: Template label comment on: