This is an interesting question. I checked the Github API and found that there is such an API: List pull requests files.
I think you can try to call this API to get the PR updated file. Whether it is placed in a place that meets the rules, you can directly judge from the file URL. And whether the file meets the specifications, you can directly access the file content through the URL. check.
This is an interesting question. I checked the Github API and found that there is such an API: List pull requests files.
I think you can try to call this API to get the PR updated file. Whether it is placed in a place that meets the rules, you can directly judge from the file URL. And whether the file meets the specifications, you can directly access the file content through the URL. check.
Can I add it to the cache and then go to the directory to perform a pull?