@@ -32,6 +32,9 @@ stages:
3232 - script : |
3333 python -m pip install -r eng/ci_tools.txt
3434 displayName: 'Prep Environment'
35+
36+ - template : /eng/common/pipelines/templates/steps/login-to-github.yml
37+
3538 - task : PythonScript@0
3639 displayName : ' Run Pylint Next'
3740 continueOnError : true
@@ -44,7 +47,7 @@ stages:
4447 --disablecov
4548 --filter-type="Omit_management"
4649 env :
47- GH_TOKEN : $(azuresdk-github-pat )
50+ GH_TOKEN : $(GH_TOKEN )
4851
4952 - task : PythonScript@0
5053 displayName : ' Run MyPy Next'
@@ -57,7 +60,7 @@ stages:
5760 --checks="next-mypy"
5861 --disablecov
5962 env :
60- GH_TOKEN : $(azuresdk-github-pat )
63+ GH_TOKEN : $(GH_TOKEN )
6164
6265 - task : PythonScript@0
6366 displayName : ' Run Pyright Next'
@@ -70,7 +73,7 @@ stages:
7073 --checks="next-pyright"
7174 --disablecov
7275 env :
73- GH_TOKEN : $(azuresdk-github-pat )
76+ GH_TOKEN : $(GH_TOKEN )
7477
7578 - script : |
7679 python -m pip install PyGithub>=1.59.0
@@ -86,7 +89,7 @@ stages:
8689 --service="${{ parameters.ServiceDirectory }}"
8790 --disablecov
8891 env :
89- GH_TOKEN : $(azuresdk-github-pat )
92+ GH_TOKEN : $(GH_TOKEN )
9093 SYSTEM_ACCESSTOKEN : $(System.AccessToken)
9194
9295 - task : UsePythonVersion@0
@@ -108,4 +111,4 @@ stages:
108111 --service="${{ parameters.ServiceDirectory }}"
109112 --checks="next-sphinx"
110113 env :
111- GH_TOKEN : $(azuresdk-github-pat )
114+ GH_TOKEN : $(GH_TOKEN )
0 commit comments