mirror of
https://github.com/actions/runner.git
synced 2025-12-11 12:57:05 +00:00
Reduce token service and unnecessary calls - send token to redirects (#2660)
* handle redirects with token * scope to broker * lint
This commit is contained in:
committed by
GitHub
parent
1096b975e4
commit
471e3ae2d9
@@ -64,7 +64,7 @@ namespace GitHub.Runner.Sdk
|
||||
|
||||
if (StringUtil.ConvertToBoolean(Environment.GetEnvironmentVariable("USE_BROKER_FLOW")))
|
||||
{
|
||||
settings.AllowAutoRedirect = true;
|
||||
settings.AllowAutoRedirectForBroker = true;
|
||||
}
|
||||
|
||||
// Remove Invariant from the list of accepted languages.
|
||||
|
||||
Reference in New Issue
Block a user