{Misc.} Added changes for internal team developer operations#32970
{Misc.} Added changes for internal team developer operations#32970
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Pull request overview
Adds internal automation to sync squad label mappings from an ADO Wiki page into .github/policies/resourceManagement.yml, similar to the existing service contact list sync.
Changes:
- Added
ParseSquadMappingList.ps1to fetch the squad mapping table from ADO Wiki and apply corresponding squad labels inresourceManagement.yml. - Added a scheduled Azure Pipelines definition to run the sync, push a branch to
azclibot/azure-cli, and open a PR intoAzure/azure-clidev.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
tools/Github/ParseSquadMappingList.ps1 |
New PowerShell script to fetch wiki mappings and inject mapped squad addLabel actions throughout the YAML policy graph. |
.azure-pipelines/sync-squad-mapping.yml |
New scheduled pipeline to run the script, detect diffs, and create a PR with the updated policy file. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
|
Adding the updated resourceManagement.yml file (generated through local testing of these changes): |
|
Adding the diff between the current resourceManagement.yml and the output resourceManagement.yml file from these proposed changes: |
Description
Testing Guide
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.