Skip to content

Commit ea28660

Browse files
Switch update_pr job to GitHub app token
Co-authored-by: chidozieononiwu <31145988+chidozieononiwu@users.noreply.github.com>
1 parent 979d1dd commit ea28660

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

eng/pipelines/templates/jobs/update_pr.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ steps:
2323
python3 -m pip install -e $(Build.SourcesDirectory)/eng/tools/azure-sdk-tools[ghtools]
2424
displayName: 'Install Azure SDK tools'
2525

26+
- template: /eng/common/pipelines/templates/steps/login-to-github.yml
27+
parameters:
28+
TokenOwners:
29+
- Azure
30+
2631
- script: python3 -m packaging_tools.update_pr -v --pr-number $(System.PullRequest.PullRequestNumber) --repo $(Build.Repository.Name)
2732
displayName: 'Update packaging of PR'
2833
env:
29-
GH_TOKEN: $(azuresdk-github-pat)
34+
GH_TOKEN: $(GH_TOKEN)

0 commit comments

Comments
 (0)