Replace azuresdk-github-pat with GH_TOKEN in Azure pipeline YAML files#43468
Open
Copilot wants to merge 1 commit into
Open
Replace azuresdk-github-pat with GH_TOKEN in Azure pipeline YAML files#43468Copilot wants to merge 1 commit into
Copilot wants to merge 1 commit into
Conversation
Agent-Logs-Url: https://github.com/Azure/azure-rest-api-specs/sessions/d20ae825-bf04-497b-bbda-497c1f39b93d Co-authored-by: chidozieononiwu <31145988+chidozieononiwu@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
chidozieononiwu
May 23, 2026 01:12
View session
Next Steps to Merge⌛ Please wait. Next steps to merge this PR are being evaluated by automation. ⌛Comment generated by summarize-checks workflow run. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates several Azure DevOps pipeline templates to standardize authentication when interacting with GitHub. The main change is replacing the previous
azuresdk-github-pattoken with a newGH_TOKENvariable and ensuring a consistent login step across templates. This improves security and maintainability by centralizing GitHub authentication.Authentication standardization and improvements:
/eng/common/pipelines/templates/steps/login-to-github.ymltemplate, specifyingazureas the token owner in multiple pipeline templates. [1] [2] [3]azuresdk-github-patvariable with the newGH_TOKENvariable for GitHub authentication in parameters such asTokenToUseForAuth,GitHubToken, and-AuthToken. [1] [2] [3] [4]