Skip to content

Switch PAT to GitHubApps#204

Open
chidozieononiwu wants to merge 1 commit into
Azure:mainfrom
chidozieononiwu:pat-to-github-apps
Open

Switch PAT to GitHubApps#204
chidozieononiwu wants to merge 1 commit into
Azure:mainfrom
chidozieononiwu:pat-to-github-apps

Conversation

@chidozieononiwu

Copy link
Copy Markdown
Member

This pull request updates the authentication method used for GitHub operations in pipeline scripts by replacing the azuresdk-github-pat variable with a new GH_TOKEN variable. It also adds a shared login step to standardize authentication. These changes help improve security and maintain consistency across the release notes and version updater pipelines.

Authentication updates:

  • Replaced all instances of $(azuresdk-github-pat) with $(GH_TOKEN) for GitHub authentication in PowerShell scripts, arguments, and git remote URLs in both generate-releasenotes.yml and version-updater.yml. [1] [2] [3] [4]

Pipeline standardization:

  • Added the /eng/common/pipelines/templates/steps/login-to-github.yml template to both generate-releasenotes.yml and version-updater.yml to centralize and standardize GitHub login steps. [1] [2]

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