Skip to content

Add configurable delay between repos #10

@naikrovek

Description

@naikrovek

I ran this on an org in my GHEC enterprise, and it is the largest org by far in my enterprise and is only going to get larger. Currently ~800 repos and will probably be over 8000 repos within a year as migrations from GHES continue.

This action uses API quota faster than it is replenished, and when I want to scan an org larger than about 1200 repos, I will need to do some waiting, because that will consume my entire API quota in less than 1 hour.

It would be wonderful if there could be a configurable delay in the loop that collects info on all the repositories.

I don't know how to do synchronous delays in JavaScript or I would submit a PR myself, or just maintain a fork that I would use.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions