actions-runner-controller/github
Tingluo Huang 516695b275
Set UserAgent to 'actions-runner-controller' for all Http Client. (#1140)
I can't find any requests made by user agent `actions-runner-controller` in GitHub.com's telemetry in the past 7 days.

Turns out we only set user agent `actions-runner-controller` if we are configured to use BasicAuth which is not the case for most customers I think.

I update the code a little bit to make sure it always set `actions-runner-controller` as UserAgent for the GitHub HttpClient in ARC.

A further step would be somehow baking the ARC release version into the UserAgent as well.
2022-02-28 09:17:58 +09:00
..
fake Update go-github from v37 -> v39 (#925) 2021-12-11 21:43:40 +09:00
metrics Add metrics for GitHub API rate limit (#312) 2021-02-16 09:58:09 +09:00
github.go Set UserAgent to 'actions-runner-controller' for all Http Client. (#1140) 2022-02-28 09:17:58 +09:00
github_test.go Set UserAgent to 'actions-runner-controller' for all Http Client. (#1140) 2022-02-28 09:17:58 +09:00