Break UseV2Flow into UseV2Flow and UseRunnerAdminFlow. by TingluoHuang · Pull Request #4013 · actions/runner (original) (raw)
Pull Request Overview
This pull request introduces a new property UseRunnerAdminFlow to distinguish between different authentication flows in the GitHub Actions runner. The change separates the runner admin flow from the existing V2 flow mechanism, allowing for more granular control over authentication methods.
Key changes:
- Added
UseRunnerAdminFlowproperty to configuration classes and data structures - Updated conditional logic to use the new property where appropriate for runner admin operations
- Relocated server property override logic to occur earlier in the configuration process
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/Runner.Listener/Configuration/CredentialManager.cs | Renamed UseV2Flow property to UseRunnerAdminFlow in the GitHubAuthResult class |
| src/Runner.Listener/Configuration/ConfigurationManager.cs | Updated configuration logic to use UseRunnerAdminFlow for runner admin operations and moved server property override logic |
| src/Runner.Common/ConfigurationStore.cs | Added UseRunnerAdminFlow property to RunnerSettings class |