Skip to content

Switch update_pr pipeline job to GitHub App token flow#47150

Merged
chidozieononiwu merged 2 commits into
mainfrom
copilot/pattogithubapps
May 29, 2026
Merged

Switch update_pr pipeline job to GitHub App token flow#47150
chidozieononiwu merged 2 commits into
mainfrom
copilot/pattogithubapps

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 27, 2026

This pull request removes the eng/pipelines/templates/jobs/update_pr.yml pipeline file, which was responsible for updating packaging in pull requests. This simplifies the CI/CD configuration by eliminating an unused or redundant pipeline.

Pipeline removal:

Copilot AI changed the title Switch to using GitHubApp Switch update_pr pipeline job to GitHub App token flow May 27, 2026
Copilot AI requested a review from chidozieononiwu May 27, 2026 02:26
@chidozieononiwu chidozieononiwu force-pushed the copilot/pattogithubapps branch 2 times, most recently from 4a81cf5 to 3ea0ad5 Compare May 27, 2026 18:19
@chidozieononiwu chidozieononiwu marked this pull request as ready for review May 27, 2026 18:20
Copilot AI review requested due to automatic review settings May 27, 2026 18:20
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

This PR updates the update_pr Azure Pipelines job to authenticate through the shared GitHub App login template instead of directly using the legacy azuresdk-github-pat.

Changes:

  • Adds the shared image variable template so the pipeline resolves Linux pool/image variables locally.
  • Adds the common login-to-github.yml step with TokenOwners: Azure.
  • Rewires packaging_tools.update_pr to consume GH_TOKEN from the login step.

Comment thread eng/pipelines/templates/jobs/update_pr.yml Outdated
@chidozieononiwu chidozieononiwu force-pushed the copilot/pattogithubapps branch from 68c9657 to 3ea0ad5 Compare May 27, 2026 18:45
@chidozieononiwu
Copy link
Copy Markdown
Member

/azp run azure-sdk-for-python - update_pr

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@chidozieononiwu
Copy link
Copy Markdown
Member

/azp run azure-sdk-for-python - update_pr

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@chidozieononiwu chidozieononiwu force-pushed the copilot/pattogithubapps branch from 9341aa6 to 3251b24 Compare May 29, 2026 18:19
@chidozieononiwu chidozieononiwu merged commit 4823427 into main May 29, 2026
2 checks passed
@chidozieononiwu chidozieononiwu deleted the copilot/pattogithubapps branch May 29, 2026 21:26
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.

3 participants