Skip to content

reduce the number of issues this action queries #1085

Open
@devoncarew

Description

@devoncarew

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or request to improve the current logic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions