Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants