Is there a way (from the command line) to list the names of all files changed in a PR in Git/GitHub? This would be used to find what tests need to be run in a Travis CI buil
For GitHub specifically, this can be accomplished using the REST API:
GET /repos/:owner/:repo/pulls/:pull_number/files
You can use one of the GitHub libraries for this purpose.