Skip to content

Chore: Replace LICENSE symlink with regular file - #158

Merged
ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:chore/license-regular-file
Aug 31, 2026
Merged

ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:chore/license-regular-file

Conversation

@ModeSevenIndustrialSolutions

Copy link
Copy Markdown
Member

GitHub does not follow symbolic links when detecting a repository
license, so a LICENSE symlink pointing at LICENSES/Apache-2.0.txt
leaves the license undetected in the repository sidebar and in the
licensing metadata the API exposes.

That metadata feeds the OpenSSF Scorecard License check, which
therefore reported the license as missing even though the full
text was present in the repository.

Replace the symlink with a regular file holding an identical copy
of the Apache-2.0 text. REUSE ignores root-level LICENSE files, so
the LICENSES directory remains the authoritative source for
compliance and no REUSE annotation is required.

Co-authored-by: Claude noreply@anthropic.com
Signed-off-by: Matthew Watkins mwatkins@linuxfoundation.org

GitHub does not follow symbolic links when detecting a repository
license, so a LICENSE symlink pointing at LICENSES/Apache-2.0.txt
leaves the license undetected in the repository sidebar and in the
licensing metadata the API exposes.

That metadata feeds the OpenSSF Scorecard License check, which
therefore reported the license as missing even though the full
text was present in the repository.

Replace the symlink with a regular file holding an identical copy
of the Apache-2.0 text. REUSE ignores root-level LICENSE files, so
the LICENSES directory remains the authoritative source for
compliance and no REUSE annotation is required.

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions requested review from a team and a balanced review from Copilot August 28, 2026 15:46
@github-actions github-actions Bot added the chore Code chores (dependency updates, etc) label Aug 28, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Replaces the root LICENSE symlink with a regular Apache 2.0 license file so GitHub and OpenSSF can detect the repository license.

Changes:

  • Copies the authoritative Apache 2.0 text into the root LICENSE.
  • Keeps LICENSES/Apache-2.0.txt unchanged as the REUSE source.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@zxiiro zxiiro 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.

🤖 Auto-approved by agent: trivial change (dependency/docs/formatting only).

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit cc78675 into lfreleng-actions:main Aug 31, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Code chores (dependency updates, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants