github-pr-resource icon indicating copy to clipboard operation
github-pr-resource copied to clipboard

Check only recent PRs to reduce API limits

Open sirmspencer opened this issue 2 years ago • 1 comments

We have 3 pipelines using this, and we are already hitting git API limits. Related to this I think.

In that issue it sounds like its from too large of a payload. We would only need to poll changes from the last few minutes if concourse is running every 2 minutes.

sirmspencer avatar Jun 09 '23 21:06 sirmspencer

Unfortunately, there is no hope that you get any support here (#246 was 2+y ago).

But recent news is that the Cloud Foundry community is now maintaining a fork of this resource at cloudfoundry-community/github-pr-resource.

On our Concourse installation at Gstack, that one is working fine. Could you give a try and provide feedback there?

(the new resource is a drop-in replacement; you only have to switch telia-ossto cfcommunity in in the resource_types: declaration, i.e. specify repository: cfcommunity/github-pr-resource)

bgandon avatar May 10 '24 18:05 bgandon

Thanks for replying. We just moved to github cloud to support triggers from github instead.

sirmspencer avatar May 13 '24 14:05 sirmspencer