chore: Add license header enforcement to all source files#112
Merged
mohamedmansour merged 3 commits intomainfrom Mar 16, 2026
Merged
chore: Add license header enforcement to all source files#112mohamedmansour merged 3 commits intomainfrom
mohamedmansour merged 3 commits intomainfrom
Conversation
…ource files Co-authored-by: mohamedmansour <68524+mohamedmansour@users.noreply.github.com>
…ries Co-authored-by: mohamedmansour <68524+mohamedmansour@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] [ISSUE-123] Add license header to all source files
Add license header enforcement to all source files
Mar 16, 2026
mohamedmansour
approved these changes
Mar 16, 2026
akroshg
approved these changes
Mar 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every source file (
.rs,.ts,.js,.cs,.h,.proto) must carry the Microsoft copyright header. No enforcement existed—this adds the check tocargo xtask checkand mass-adds the header to all 157 existing files.New:
xtask/src/license_headers.rscheck()fails with a list of non-compliant files;fix()prepends missing headerstarget/,node_modules/,dist/,obj/,bin/,.git/and auto-generated files (webui_ffi.h)cargo xtask checkintegrationLICENSE_HEADERSruns as the first step in the pipeline, beforefmtcargo xtask license-headers [--fix]Copilot instructions update
Original prompt
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.