Skip to content

Switch to using GitHubApp#5537

Open
chidozieononiwu wants to merge 1 commit into
mainfrom
PATtoGitHubApps
Open

Switch to using GitHubApp#5537
chidozieononiwu wants to merge 1 commit into
mainfrom
PATtoGitHubApps

Conversation

@chidozieononiwu
Copy link
Copy Markdown
Member

@chidozieononiwu chidozieononiwu commented May 27, 2026

This pull request updates the eng/pipelines/build.yml pipeline to improve GitHub authentication and token management during build and release steps. The main changes involve switching to a more standardized and secure approach for logging into GitHub and updating token usage in scripts.

Pipeline authentication improvements:

  • Added the /eng/common/pipelines/templates/steps/login-to-github.yml template at key stages to standardize GitHub login, specifying TokenOwners as Azure. [1] [2]

Token usage updates:

  • Replaced usage of the azuresdk-github-pat variable with the GH_TOKEN variable for GitHub authentication in both the PublishRelease.ps1 and pull request creation scripts to ensure consistency and leverage the new login mechanism. [1] [2]

Part of resolving Azure/azure-sdk-tools#9842

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.

1 participant