Get Pr Changed Files

Fetch a compact, projected list of changed files for a specific Azure DevOps pull request iteration. Returns only file path metadata needed to drive downstream file fetching.

sasky80 c6d0844 1004 B Updated

File contents

Get PR Changed Files

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-changed-files myorg MyProject MyRepo 42 3

Output

Returns JSON in compact projected form:

  • pullRequestId
  • iterationId
  • count
  • files[] entries with:
    • path
    • changeType
    • changeTrackingId
    • isFolder

sasky80/ado-reviewer/tree/main/.github/skills/get-pr-changed-files commit c6d084468d

Frequently asked questions

npx skillmds@latest add sasky80/get-pr-changed-files