stale icon indicating copy to clipboard operation
stale copied to clipboard

reduce the number of issues this action queries

Open devoncarew opened this issue 10 months ago • 3 comments

This action currently queries all open issues when looking for stale issues:

https://github.com/actions/stale/blob/main/src/classes/issues-processor.ts#L564

This exhausts the number of github operations for larger repos (we currently have ~7k open issues). I believe this could be made more efficient by qualifying the query (this.client.rest.issues.listForRepo(...)) with the 'stale' label.

devoncarew avatar Aug 30 '23 17:08 devoncarew