Skip to content

Document license check requirement for repository publishing#687

Draft
ludeeus wants to merge 2 commits into
mainfrom
claude/plan-docs-update-fMp14
Draft

Document license check requirement for repository publishing#687
ludeeus wants to merge 2 commits into
mainfrom
claude/plan-docs-update-fMp14

Conversation

@ludeeus
Copy link
Copy Markdown
Member

@ludeeus ludeeus commented May 20, 2026

Summary

Added documentation for a new license check requirement that validates repositories have a recognized open source license before publishing.

Changes

  • include.md: Added new "Check license" section documenting the license validation requirement

    • Explains that GitHub detects licenses from a LICENSE file at the repository root
    • Clarifies that repositories must match a recognized SPDX template
    • Notes that repositories with no license or classified as "other" will fail the check
  • action.md: Added license check to the validation checks reference table

    • Links to the new documentation section
    • Describes the check as validating the repository has a recognized open source license

Details

The license check ensures that repositories declare a valid, recognizable open source license that GitHub can automatically detect. This is a requirement for publishing and helps maintain consistency and clarity around licensing across published repositories.

https://claude.ai/code/session_01XzRMbAxU1FsAQ6yHD1a1kr

Copilot AI review requested due to automatic review settings May 20, 2026 17:08
Copy link
Copy Markdown
Contributor

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

This PR updates the publishing documentation to describe a new repository validation requirement: a license check that ensures a repository has a recognizable open source license before it can be published.

Changes:

  • Added a new “Check license” section to the default repository inclusion checks documentation.
  • Added a license entry to the “Ignorable checks” reference table for the GitHub Action, linking to the new section.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
source/docs/publish/include.md Documents the new “Check license” requirement and its expected failure conditions.
source/docs/publish/action.md Adds license to the action’s ignorable checks table and links to the new documentation section.

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


Checks that the repository declares a recognized open source license that GitHub can detect.

GitHub detects the license from a `LICENSE` file at the repository root that matches a recognized SPDX template. Repositories with no license, or where GitHub classifies the license as `other`, will fail this check.
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