Skip to content

By default, repositories should have no license#114

Open
rowleya wants to merge 1 commit into
mainfrom
no-license-by-default
Open

By default, repositories should have no license#114
rowleya wants to merge 1 commit into
mainfrom
no-license-by-default

Conversation

@rowleya

@rowleya rowleya commented Feb 25, 2026

Copy link
Copy Markdown
Member

Updates the default action runner to use no license. This is used by UoMResearchIT/RSE-Repository-Template#77

@rowleya rowleya requested review from Copilot and dkfellows February 25, 2026 15:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the reusable “apply REUSE headers” workflow to default to applying no license (instead of Apache-2.0) when callers don’t explicitly specify a license, aligning the default behavior with the repository template’s intent.

Changes:

  • Changed the workflow_call input license default from apache-2.0 to LicenseRef-NONE.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 35 to +38
description: "The SPDX name of the license to use."
type: string
required: false
default: apache-2.0
default: LicenseRef-NONE

Copilot AI Feb 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The input description says this should be an SPDX license identifier, but LicenseRef-NONE is a custom LicenseRef-* (and typically requires a corresponding license text under LICENSES/ for REUSE compliance). If the intent is truly “no license”, consider using an SPDX-supported sentinel like NONE/NOASSERTION (if supported by the underlying reuse tool) or update the workflow/action to support omitting the --license flag entirely; otherwise update the description to indicate a full SPDX license expression (including LicenseRef-*) and ensure downstream REUSE lint won’t fail due to a missing license text.

Copilot uses AI. Check for mistakes.
@dkfellows dkfellows added the reusable workflows 📜 Relating to reusable workflows (as opposed to actions) label Jun 19, 2026
@dkfellows dkfellows added the reuse ⚙️ Relating to the reuse tool label Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reusable workflows 📜 Relating to reusable workflows (as opposed to actions) reuse ⚙️ Relating to the reuse tool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants