Setup autosync workflow#4221
Open
cheenamalhotra wants to merge 7 commits into
Open
Conversation
Co-authored-by: Copilot <copilot@github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an Azure DevOps scheduled “autosync” pipeline that mirrors dotnet/SqlClient GitHub commits into the internal ADO repo by force-updating a dedicated sync branch and creating/updating an active PR to internal/main.
Changes:
- Introduces a new ADO pipeline (
github-sync-pipeline.yml) scheduled to run daily and callable manually. - Adds a PowerShell sync script that fetches GitHub commits, force-pushes to an ADO sync branch, then creates/updates an ADO PR and posts an update thread.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| eng/pipelines/scripts/Sync-GitHubToAdo.ps1 | Implements Git fetch/force-push and ADO REST API PR create/update + comment posting. |
| eng/pipelines/github-sync-pipeline.yml | Defines the scheduled pipeline job that runs the sync script with System.AccessToken. |
paulmedynski
requested changes
Apr 22, 2026
6468b47 to
d1d4dd1
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4221 +/- ##
==========================================
- Coverage 65.99% 64.39% -1.60%
==========================================
Files 276 271 -5
Lines 42951 65745 +22794
==========================================
+ Hits 28344 42335 +13991
- Misses 14607 23410 +8803
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
paulmedynski
previously requested changes
Apr 23, 2026
mdaigle
reviewed
Apr 23, 2026
mdaigle
previously approved these changes
Apr 28, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
mdaigle
approved these changes
May 11, 2026
apoorvdeshmukh
approved these changes
May 12, 2026
paulmedynski
approved these changes
May 13, 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.
Description
Introduces new pipeline that should trigger daily to open a PR or update a previously opened PR with latest commits from github's main branch.
Auto-Sync Pipeline build: https://dev.azure.com/SqlClientDrivers/ADO.Net/_build/results?buildId=148903&view=results
An exmaple PR is here: dotnet-sqlclient#7339