Skip to content

Add compliance and automation setup#13

Merged
daviburg merged 5 commits intomainfrom
chore/compliance-setup
Apr 8, 2026
Merged

Add compliance and automation setup#13
daviburg merged 5 commits intomainfrom
chore/compliance-setup

Conversation

@daviburg
Copy link
Copy Markdown
Member

@daviburg daviburg commented Apr 8, 2026

Summary

Shore up the Azure/Connectors-NET-LSP repo to match the governance and automation standards of Azure/Connectors-NET-SDK.

Changes

Governance files

  • .github/CODEOWNERS — team ownership for all paths
  • .github/dependabot.yml — weekly updates for NuGet, GitHub Actions, and npm
  • .github/ISSUE_TEMPLATE/ — bug report, feature request, and contact links config
  • .github/pull_request_template.md — PR template with testing checklist
  • .github/copilot-instructions.md — coding conventions for Copilot
  • CONTRIBUTING.md — contribution guidelines with CLA and code style
  • CODE_OF_CONDUCT.md — Microsoft Open Source Code of Conduct
  • .markdownlint.json — markdown linting config

CI workflow

  • .github/workflows/ci.yml — lint (C# format + markdown) then build + test on ubuntu and windows
  • All GitHub Actions pinned to SHA

Repo settings (already applied via admin JIT)

  • Squash-only merge (disabled merge commit and rebase)
  • Delete branch on merge enabled
  • Wiki and Projects disabled
  • Branch protection on main (require PR, 1 approval, dismiss stale reviews, require CODEOWNERS)
  • CodeQL code scanning enabled (csharp, javascript-typescript)

Testing

  • CI workflow syntax validated
  • All GitHub Actions SHA-pinned

Checklist

  • Matches SDK repo standards
  • No modifications to existing source code

Closes #11

- CODEOWNERS with team ownership
- Dependabot for NuGet, Actions, and npm
- Issue templates (bug report, feature request, config)
- PR template with testing checklist
- CI workflow (lint + build + test, multi-OS)
- copilot-instructions.md with coding conventions
- CONTRIBUTING.md and CODE_OF_CONDUCT.md
- .markdownlint.json configuration

Closes #11
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

This PR adds governance, contribution, and automation scaffolding to bring Azure/Connectors-NET-LSP in line with the standards used in Azure/Connectors-NET-SDK, including repo templates, ownership, dependency automation, and a CI workflow.

Changes:

  • Added repo governance artifacts (CODEOWNERS, CoC, contributing guidance, issue/PR templates, Copilot conventions, markdown lint config).
  • Added Dependabot configuration for NuGet, GitHub Actions, and the VS Code extension’s npm dependencies.
  • Introduced a CI workflow that lints (C# + Markdown) and runs build/test on Ubuntu and Windows.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
CONTRIBUTING.md Adds contribution prerequisites and workflow for contributors.
CODE_OF_CONDUCT.md Adds Microsoft OSS code of conduct reference.
.markdownlint.json Configures markdownlint rule overrides.
.github/workflows/ci.yml Adds CI pipeline for linting, building, and testing.
.github/pull_request_template.md Adds PR template including testing and checklist items.
.github/ISSUE_TEMPLATE/feature_request.yml Adds feature request issue template.
.github/ISSUE_TEMPLATE/config.yml Configures issue creation and contact links.
.github/ISSUE_TEMPLATE/bug_report.yml Adds bug report issue template.
.github/dependabot.yml Enables weekly dependency update PRs with grouping.
.github/copilot-instructions.md Documents coding conventions and patterns for the repo.
.github/CODEOWNERS Establishes default ownership and path-specific owners.

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

Comment thread CONTRIBUTING.md Outdated
Comment thread .github/pull_request_template.md Outdated
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Comment thread .github/copilot-instructions.md
…Settings.cs

- SA1615 (return value docs) conflicts with team convention: do NOT use <returns>
- SA1623 (property summary wording) too prescriptive for this codebase
- SA1629 (doc ending with period) too strict for existing code
- MSTestSettings.cs had UTF-8 BOM, editorconfig requires utf-8 (no BOM)
- Add blank lines around headings, code blocks, and lists (auto-fixed)
- Add language specifiers to fenced code blocks (text for output/examples)
- Fix broken link fragment in DEVELOPMENT_GUIDE.md
- Suppress MD036 (emphasis as heading) — intentional bold text, not headings
- Remove trailing whitespace
Copilot AI review requested due to automatic review settings April 8, 2026 03:34
- Fix PR template link: copilot-instructions.md -> .github/copilot-instructions.md
- Remove 'pinned by global.json' from CONTRIBUTING.md (no global.json exists)
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

Copilot reviewed 17 out of 17 changed files in this pull request and generated 3 comments.


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

Comment thread Server.Tests/MSTestSettings.cs
Comment thread .github/workflows/ci.yml
Comment thread CONTRIBUTING.md
SdkIndexConstantDiscoveryTests require a Connectors SDK .nupkg in SDK/.
Without it, tests now skip with Assert.Inconclusive instead of failing.
@daviburg daviburg merged commit 40a65ca into main Apr 8, 2026
7 checks passed
@daviburg daviburg deleted the chore/compliance-setup branch April 8, 2026 04:30
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.

Compliance and automation setup — match SDK repo standards

2 participants