You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add support for fork source repository in pull request creation (Issue 254) (#356)
This pull request enhances the `create_pull_request` tool in
`src/tools/repos.ts` to support creating pull requests from forked
repositories. The changes include adding a new parameter for specifying
the fork repository ID and updating the logic to handle this parameter
when creating pull requests.
## GitHub issue number
Fixes#254
## **Associated Risks**
none
## ✅ **PR Checklist**
- [x] **I have read the [contribution
guidelines](https://github.com/microsoft/azure-devops-mcp/blob/main/CONTRIBUTING.md)**
- [x] **I have read the [code of conduct
guidelines](https://github.com/microsoft/azure-devops-mcp/blob/main/CODE_OF_CONDUCT.md)**
- [x] Title of the pull request is clear and informative.
- [x] 👌 Code hygiene
- [x] 🔭 Telemetry added, updated, or N/A
- [x] 📄 Documentation added, updated, or N/A
- [x] 🛡️ Automated tests added, or N/A
## 🧪 **How did you test it?**
Tested manually - managed to create a PR from a forked repo into the
original one.
description: z.string().optional().describe("The description of the pull request. Optional."),
108
109
isDraft: z.boolean().optional().default(false).describe("Indicates whether the pull request is a draft. Defaults to false."),
109
110
workItems: z.string().optional().describe("Work item IDs to associate with the pull request, space-separated."),
111
+
forkSourceRepositoryId: z.string().optional().describe("The ID of the fork repository that the pull request originates from. Optional, used when creating a pull request from a fork."),
0 commit comments