Skip to content

FEAT: AI-powered documentation update automation#518

Draft
jahnvi480 wants to merge 3 commits intomainfrom
wiki-automation
Draft

FEAT: AI-powered documentation update automation#518
jahnvi480 wants to merge 3 commits intomainfrom
wiki-automation

Conversation

@jahnvi480
Copy link
Copy Markdown
Contributor

@jahnvi480 jahnvi480 commented Apr 13, 2026

Work Item / Issue Reference

AB#43978


Summary

This pull request adds a new GitHub Actions workflow to automate updating and syncing the project's wiki in response to releases and changes in the wiki/ folder. The workflow supports both manual and automatic triggers, and handles both generating release notes for the wiki and syncing wiki content to the associated wiki repository.

Wiki automation and synchronization:

  • Introduced a new workflow file .github/workflows/wiki-release-notes.yml that automates wiki updates and synchronization.
    • Adds jobs to analyze pull requests and create wiki update PRs on manual dispatch or new releases.
    • Syncs the wiki/ folder with the wiki repository automatically when changes are pushed to main or master.
    • Supports manual inputs for release tag, new version, and dry run mode.
    • Handles cloning, updating, and pushing changes to the wiki repository, with safeguards for missing folders or no changes.

Copilot AI review requested due to automatic review settings April 13, 2026 06:26
@github-actions github-actions bot added the pr-size: large Substantial code update label Apr 13, 2026
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

Adds automation to generate and sync GitHub wiki updates from merged PRs/release notes, integrating GitHub Models for AI-assisted matching and content generation.

Changes:

  • Added a new GitHub Actions workflow to (1) generate a wiki-update PR on release/manual trigger and (2) sync wiki/ to the GitHub wiki on merges.
  • Added a Python automation script to analyze merged PRs since a release tag, map changes to wiki pages (LLM + heuristics), and generate updated wiki markdown.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
.github/workflows/wiki-release-notes.yml New workflow to generate wiki update PRs and sync wiki/ content to the wiki repo.
.github/scripts/generate_wiki_release_notes.py New script that fetches merged PRs/diffs since a tag and produces wiki page updates (LLM or heuristic fallback).

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

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 13, 2026

📊 Code Coverage Report

🔥 Diff Coverage

100%


🎯 Overall Coverage

79%


📈 Total Lines Covered: 6639 out of 8403
📁 Project: mssql-python


Diff Coverage

Diff: main...HEAD, staged and unstaged changes

No lines with coverage information in this diff.


📋 Files Needing Attention

📉 Files with overall lowest coverage (click to expand)
mssql_python.pybind.logger_bridge.cpp: 59.2%
mssql_python.pybind.ddbc_bindings.h: 67.8%
mssql_python.row.py: 70.5%
mssql_python.pybind.logger_bridge.hpp: 70.8%
mssql_python.pybind.ddbc_bindings.cpp: 74.2%
mssql_python.pybind.connection.connection.cpp: 75.3%
mssql_python.__init__.py: 77.3%
mssql_python.ddbc_bindings.py: 79.6%
mssql_python.pybind.connection.connection_pool.cpp: 79.6%
mssql_python.connection.py: 85.2%

🔗 Quick Links

⚙️ Build Summary 📋 Coverage Details

View Azure DevOps Build

Browse Full Coverage Report

@jahnvi480 jahnvi480 changed the title FEAT: AI-powered wiki update automation FEAT: AI-powered documentation update automation Apr 13, 2026
@jahnvi480 jahnvi480 marked this pull request as draft April 13, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-size: large Substantial code update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants