Skip to content

Update Microsoft repository policy files#8589

Merged
StellaHuang95 merged 1 commit into
mainfrom
chore/update-repository-policy-files
Jul 24, 2026
Merged

Update Microsoft repository policy files#8589
StellaHuang95 merged 1 commit into
mainfrom
chore/update-repository-policy-files

Conversation

@StellaHuang95

Copy link
Copy Markdown
Contributor

Summary

  • Update SECURITY.md from Microsoft's V0.0.3 block to the current V1.0.0 shared template.
  • Add the standard standalone Microsoft CODE_OF_CONDUCT.md.
  • Preserve PTVS's existing Apache 2.0 license.

Context

Related to #8568 and #8569.

Both policy-service issues report files as missing, but PTVS already had a root LICENSE and a root SECURITY.md when the issues were created. GitHub recognizes the existing license as Apache 2.0, and changing it to Microsoft's default MIT template would be a substantive relicensing operation rather than a missing-file fix.

The existing SECURITY.md used an older Microsoft V0.0.3 block. This PR updates it to the current official template and adds the standalone code-of-conduct file called for by Microsoft's repository guidance. The policy-service presence findings should still be rerun or investigated separately.

SUPPORT.md is not included because the guidance treats it as optional and its template requires project-specific support commitments.

Validation

  • Confirmed both files match the current blobs in microsoft/repo-templates.
  • git diff --check
  • No product build or test run; this PR changes repository policy documentation only.

Update SECURITY.md to Microsoft's current V1.0.0 template and add the standard Microsoft Open Source Code of Conduct. Keep PTVS's existing Apache 2.0 license unchanged.
Copilot AI review requested due to automatic review settings July 24, 2026 19:08
@StellaHuang95
StellaHuang95 requested a review from a team as a code owner July 24, 2026 19:08
@sonarqubecloud

Copy link
Copy Markdown

@heejaechang

Copy link
Copy Markdown

🔒 Automated review in progress — @heejaechang is auto-reviewing this PR.

@StellaHuang95

Copy link
Copy Markdown
Contributor Author

/azp run

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 repository policy documentation to align PTVS with current Microsoft open-source repository guidance while preserving the existing Apache 2.0 licensing posture.

Changes:

  • Updated SECURITY.md to the Microsoft SECURITY.md V1.0.0 block, pointing reporters to the canonical security guidance.
  • Added the standard standalone CODE_OF_CONDUCT.md for Microsoft open source repositories.
Show a summary per file
File Description
SECURITY.md Replaces the older Microsoft SECURITY.md V0.0.3 block with the current V1.0.0 template content/link.
CODE_OF_CONDUCT.md Adds the standard Microsoft Open Source Code of Conduct file and resource links.

Review details

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Low

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

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

Approved via Review Center.

@StellaHuang95
StellaHuang95 merged commit 9598001 into main Jul 24, 2026
12 checks passed
@StellaHuang95
StellaHuang95 deleted the chore/update-repository-policy-files branch July 24, 2026 19:56
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