Skip to content

Replace azuresdk-github-pat with GH_TOKEN in Azure pipeline YAML files#43468

Open
Copilot wants to merge 1 commit into
mainfrom
copilot/update-token-references-azure-yaml
Open

Replace azuresdk-github-pat with GH_TOKEN in Azure pipeline YAML files#43468
Copilot wants to merge 1 commit into
mainfrom
copilot/update-token-references-azure-yaml

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 23, 2026

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-pat token with a new GH_TOKEN variable and ensuring a consistent login step across templates. This improves security and maintainability by centralizing GitHub authentication.

Authentication standardization and improvements:

  • Added a step to log in to GitHub using the /eng/common/pipelines/templates/steps/login-to-github.yml template, specifying azure as the token owner in multiple pipeline templates. [1] [2] [3]
  • Replaced the use of the azuresdk-github-pat variable with the new GH_TOKEN variable for GitHub authentication in parameters such as TokenToUseForAuth, GitHubToken, and -AuthToken. [1] [2] [3] [4]

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 23, 2026

Next Steps to Merge

⌛ Please wait. Next steps to merge this PR are being evaluated by automation. ⌛

Comment generated by summarize-checks workflow run.

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.

2 participants