Skip to content

Instantly share code, notes, and snippets.

View lucasoares's full-sized avatar

Lucas Soares lucasoares

View GitHub Profile
@lucasoares
lucasoares / sync_ado_github_connections.py
Last active July 1, 2026 20:30
Sync Azure DevOps Boards GitHub external connections to include all repositories per org (with dry-run, verification, and browser-context fallback)
#!/usr/bin/env python3
"""
ADO GitHub connection sync runbook (single-file memory)
=======================================================
What this script does
---------------------
- Synchronizes Azure DevOps Boards external GitHub connections so the selected
repositories match all repos discoverable for each target GitHub organization.
- Uses ADO Contribution providers: