Skip to content

By default, repositories should have no license#114

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

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

Conversation

@rowleya
Copy link
Copy Markdown
Member

@rowleya rowleya commented Feb 25, 2026

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
Copy link
Copy Markdown

Copilot AI left a comment

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
Copy link

Copilot AI Feb 25, 2026

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants