stale
stale copied to clipboard
reduce the number of issues this action queries
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.
This will likely be fixed by https://github.com/actions/stale/pull/1084.
Hello @devoncarew Thank you for bringing this up. We will take a look and come back to you as soon as we have some news 😃
Any news @dsame? Would be nice to land https://github.com/actions/stale/pull/1084 if possible.