Get PR Changes
Platform Note
- Clean-install path: use the Go command from
.github/tools/skills-go.
Arguments
| # | Name | Required | Description |
|---|---|---|---|
| 1 | organization | Yes | Azure DevOps organization |
| 2 | project | Yes | Project name or ID |
| 3 | repositoryId | Yes | Repository name or ID |
| 4 | pullRequestId | Yes | Pull request ID |
| 5 | iterationId | Yes | Iteration ID (from get-pr-iterations) |
Examples
go run ./.github/tools/skills-go/cmd/skills-go get-pr-changes myorg MyProject MyRepo 42 3
Output
Returns JSON with changeEntries listing files with their changeType (add, edit, delete) and item.path.