[CI] Add copilot yaml pipeline#26150
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds an Azure DevOps pipeline for running GitHub Copilot CLI with a user-supplied prompt, and updates the shared provisioning template to allow overriding the repository root path (useful for multi-checkout scenarios and more robust path construction).
Changes:
- Added a manually queued
macios-copilot.ymlpipeline that provisions dependencies, installs Copilot CLI, validates inputs, and runs Copilot with a custom prompt. - Updated the
templates/common/provision.ymltemplate to accept arepositoryRootparameter and use it when locating the provisionator bootstrap script.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| tools/devops/automation/templates/common/provision.yml | Adds repositoryRoot parameter and uses it to build the provisionator bootstrap path. |
| tools/devops/automation/macios-copilot.yml | New manual pipeline that provisions build prerequisites, installs gh/az + Copilot CLI, and runs Copilot with validated inputs. |
| - name: repositoryRoot | ||
| type: string | ||
| default: '$(Build.SourcesDirectory)/$(BUILD_REPOSITORY_TITLE)' |
| env: | ||
| COPILOT_PROMPT: ${{ parameters.copilotPrompt }} | ||
| COPILOT_GITHUB_TOKEN: $(COPILOT_TOKEN) | ||
| GH_TOKEN: $(GitHub.Token) | ||
| AZURE_DEVOPS_EXT_PAT: $(System.AccessToken) |
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build #b768bbb] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 203 tests passed 🎉 Tests counts✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
No description provided.