2121 git checkout ${{ parameters.branch }} || git checkout $(System.PullRequest.SourceBranch) && git checkout -b ${{ parameters.branch }}
2222 git merge origin/$(System.PullRequest.SourceBranch)
2323 git push -u origin ${{ parameters.branch }}
24+ env:
25+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
2426 displayName: Create branch if not exists or update
2527 - script : |
2628 set -e
3335 ./install_source_only.sh
3436 git commit --allow-empty -a -m "Update source requirements 3.7"
3537 git push origin ${{ parameters.branch }}
38+ env:
39+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
3640 displayName: Update source requirements 3.7
3741 workingDirectory: resources/python
3842
5761 ./install_source_only.sh
5862 git commit --allow-empty -a -m "Update source requirements 3.9"
5963 git push origin ${{ parameters.branch }}
64+ env:
65+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
6066 displayName: Update source requirements 3.9
6167 workingDirectory: resources/python
6268
8187 ./install_source_only.sh
8288 git commit --allow-empty -a -m "Update source requirements 3.10"
8389 git push origin ${{ parameters.branch }}
90+ env:
91+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
8492 displayName: Update source requirements 3.10
8593 workingDirectory: resources/python
8694
@@ -105,6 +113,8 @@ jobs:
105113 ./install_source_only.sh
106114 git commit --allow-empty -a -m "Update source requirements 3.11"
107115 git push origin ${{ parameters.branch }}
116+ env:
117+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
108118 displayName: Update source requirements 3.11
109119 workingDirectory: resources/python
110120
@@ -128,6 +138,8 @@ jobs:
128138 ./install_binary_mac.sh
129139 git commit --allow-empty -a -m "Update binary requirements in Mac Python 3.7"
130140 git push origin ${{ parameters.branch }}
141+ env:
142+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
131143 displayName: Update binary requirements
132144 workingDirectory: resources/python
133145
@@ -147,6 +159,8 @@ jobs:
147159 ./install_binary_mac.sh
148160 git commit --allow-empty -a -m "Update binary requirements in Mac Python 3.9"
149161 git push origin ${{ parameters.branch }}
162+ env:
163+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
150164 displayName: Update binary requirements
151165 workingDirectory: resources/python
152166
@@ -166,6 +180,8 @@ jobs:
166180 ./install_binary_mac.sh
167181 git commit --allow-empty -a -m "Update binary requirements in Mac Python 3.10"
168182 git push origin ${{ parameters.branch }}
183+ env:
184+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
169185 displayName: Update binary requirements
170186 workingDirectory: resources/python
171187
@@ -185,6 +201,8 @@ jobs:
185201 ./install_binary_mac.sh
186202 git commit --allow-empty -a -m "Update binary requirements in Mac Python 3.11"
187203 git push origin ${{ parameters.branch }}
204+ env:
205+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
188206 displayName: Update binary requirements
189207 workingDirectory: resources/python
190208
@@ -206,6 +224,8 @@ jobs:
206224 ./install_binary_linux.sh
207225 git commit --allow-empty -a -m "Update binary requirements in Linux Python 3.7"
208226 git push origin ${{ parameters.branch }}
227+ env:
228+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
209229 displayName: Update binary requirements
210230 workingDirectory: resources/python
211231
@@ -225,6 +245,8 @@ jobs:
225245 ./install_binary_linux.sh
226246 git commit --allow-empty -a -m "Update binary requirements in Linux Python 3.9"
227247 git push origin ${{ parameters.branch }}
248+ env:
249+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
228250 displayName: Update binary requirements
229251 workingDirectory: resources/python
230252
@@ -244,6 +266,8 @@ jobs:
244266 ./install_binary_linux.sh
245267 git commit --allow-empty -a -m "Update binary requirements in Linux Python 3.10"
246268 git push origin ${{ parameters.branch }}
269+ env:
270+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
247271 displayName: Update binary requirements
248272 workingDirectory: resources/python
249273
@@ -263,6 +287,8 @@ jobs:
263287 ./install_binary_linux.sh
264288 git commit --allow-empty -a -m "Update binary requirements in Linux Python 3.11"
265289 git push origin ${{ parameters.branch }}
290+ env:
291+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
266292 displayName: Update binary requirements
267293 workingDirectory: resources/python
268294
@@ -288,6 +314,8 @@ jobs:
288314 - script : |
289315 git commit --allow-empty -a -m "Update binary requirements in Windows Python 3.7"
290316 git push origin ${{ parameters.branch }}
317+ env:
318+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
291319 displayName: Run Push Scripts
292320 workingDirectory: resources/python
293321
@@ -311,6 +339,8 @@ jobs:
311339 - script : |
312340 git commit --allow-empty -a -m "Update binary requirements in Windows Python 3.9"
313341 git push origin ${{ parameters.branch }}
342+ env:
343+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
314344 displayName: Run Push Scripts
315345 workingDirectory: resources/python
316346
@@ -334,6 +364,8 @@ jobs:
334364 - script : |
335365 git commit --allow-empty -a -m "Update binary requirements in Windows Python 3.10"
336366 git push origin ${{ parameters.branch }}
367+ env:
368+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
337369 displayName: Run Push Scripts
338370 workingDirectory: resources/python
339371
@@ -357,5 +389,7 @@ jobs:
357389 - script : |
358390 git commit --allow-empty -a -m "Update binary requirements in Windows Python 3.11"
359391 git push origin ${{ parameters.branch }}
392+ env:
393+ GH_ACCESS_TOKEN: $(GITHUB_ACCESS_TOKEN)
360394 displayName: Run Push Scripts
361395 workingDirectory: resources/python
0 commit comments