Skip to content

Switch to using GitHubApp#1981

Open
chidozieononiwu wants to merge 1 commit into
mainfrom
PATtoGitHubApps
Open

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

Conversation

@chidozieononiwu
Copy link
Copy Markdown
Member

This pull request updates the eng/pipelines/sdk-regenerate.yml pipeline to improve authentication and login handling for SDK regeneration jobs. The main changes involve switching the GitHub authentication token and adding a login step.

Authentication and login improvements:

  • Added a step to log in to GitHub using the login-to-github.yml template, specifying Azure as a token owner.
  • Changed the authentication token used for creating pull requests from $(azuresdk-github-pat) to $(GH_TOKEN) to standardize token usage.

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

Copilot AI review requested due to automatic review settings May 27, 2026 01:53
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Switches the SDK regeneration pipeline to authenticate via a GitHub App by adding a login-to-github.yml step and using $(GH_TOKEN) instead of the azuresdk-github-pat PAT for PR creation.

Changes:

  • Add login-to-github.yml template step (token owner Azure) before PR creation.
  • Replace $(azuresdk-github-pat) with $(GH_TOKEN) as the AuthToken for the create-pull-request template.

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