cloudbase / garm

GitHub Actions Runner Manager
Apache License 2.0
136 stars 26 forks source link

Refactor internal gh client #235

Closed gabriel-samfira closed 8 months ago

gabriel-samfira commented 8 months ago

This change attempts to refactor some of the code to de-duplicate a bunch of the functions meant to handle github entity types.

gabriel-samfira commented 8 months ago

CC @bavarianbidi

This change also moves metrics counters to the client, ensuring that metrics get counted every time the client is used.