Skip to content

Transition to GitHub App auth, remove azuresdk-github-pat usage#46709

Open
scbedd wants to merge 1 commit into
mainfrom
RemoveAzsdkPatUsage
Open

Transition to GitHub App auth, remove azuresdk-github-pat usage#46709
scbedd wants to merge 1 commit into
mainfrom
RemoveAzsdkPatUsage

Conversation

@scbedd
Copy link
Copy Markdown
Member

@scbedd scbedd commented May 4, 2026

Related to Azure/azure-sdk-tools#9842

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@scbedd scbedd self-assigned this May 5, 2026
@scbedd scbedd moved this from 🤔 Triage to 🐝 Dev in Azure SDK EngSys 🚀🌒🧑‍🚀 May 5, 2026
@chidozieononiwu chidozieononiwu self-assigned this May 27, 2026
@chidozieononiwu chidozieononiwu marked this pull request as ready for review May 27, 2026 22:35
Copilot AI review requested due to automatic review settings May 27, 2026 22:35
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

Transitions pipelines from the azuresdk-github-pat PAT to GitHub App authentication via the shared login-to-github.yml step, exposing GH_TOKEN, and clears AuthToken to let downstream templates use the same login flow.

Changes:

  • Replace $(azuresdk-github-pat) references with $(GH_TOKEN) and add the login-to-github.yml template step where needed.
  • Set AuthToken: '' on template invocations so they fall back to the GitHub App-provided token.

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.

Show a summary per file
File Description
scripts/release_helper/release_helper.yml Add login step and switch bot token to GH_TOKEN.
eng/pipelines/tsp-spec-sync.yml Clear AuthToken on template invocation.
eng/pipelines/trigger-ml-sample-pipeline.yml Clear AuthToken on template invocation.
eng/pipelines/templates/steps/verify-autorest.yml Clear AuthToken on template invocation.
eng/pipelines/templates/steps/build-package-artifacts.yml Add login step; switch sparse-checkout token to GH_TOKEN.
eng/pipelines/templates/stages/python-analyze-weekly.yml Add login step; switch env GH_TOKEN to pipeline var.
eng/pipelines/templates/stages/archetype-python-release.yml Clear AuthToken on two template invocations.
eng/pipelines/templates/jobs/update_pr.yml Add login step; switch env GH_TOKEN to pipeline var.
eng/pipelines/templates/jobs/live.tests.yml Add login step; switch sparse-checkout token to GH_TOKEN.
eng/pipelines/templates/jobs/ci.tests.yml Add login step; switch sparse-checkout token to GH_TOKEN.
eng/pipelines/prepare-pipelines.yml Clear AuthToken on template invocation.
eng/pipelines/docindex.yml Clear AuthToken on two template invocations.
eng/pipelines/conda-update-pipeline.yml Clear AuthToken on template invocation.
eng/pipelines/aggregate-reports.yml Add login step; switch env GH_TOKEN to pipeline var.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants