github.listPullRequestFiles lists the files and patches in one pull request.
automations/list-github-pr-files.automation.ts
pullRequestNumber. Pagination defaults to page 1 with 30 results. Returns each file’s filename, sha, and status. Requires Pull requests read permission.