Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Set UserAgent to actions-runner-controller for all Http Client. #1140

Merged
merged 1 commit into from
Feb 28, 2022

Conversation

TingluoHuang
Copy link
Member

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. 😄

@toast-gear toast-gear added this to the v0.22.0 milestone Feb 24, 2022
Copy link
Collaborator

@mumoshu mumoshu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you for your contribution @TingluoHuang ☺️

@mumoshu mumoshu merged commit 516695b into actions:master Feb 28, 2022
@TingluoHuang TingluoHuang deleted the users/tihuang/fixua branch February 28, 2022 02:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants