GHA runners collector #13
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WIP. Don't merge yet. depends on landing of #12 to rebase.
Will close #11
Still need some cleaning, and eventually move some common code (with Rate limit collector) to a new module. ex. http client code
MONITORBOT_RUST_ORG_TOKEN
that needs to contain the org'srepo
scoped token to be used to query GHA runners statusMONITORBOT_RUNNERS_REPOS
that will contain the org's repositories to track GHA runners. multiple repos allowed as long as they are under the same org's umbrella. ex syntax:rust-lang/rust,rust-lang/cargo,rust-lang/rust-clippy
MONITORBOT_GHA_RUNNERS_REFRESH
that's the refresh rate frequency (in seconds) to update the cached data about the runners statuses. default value is currently120
current output:
