File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ def main(
6060 new comment containing the failure information and any possible premerge
6161 advisor findings.
6262 3. There has been a previous failure and the job passes - We update the
63- existing comment by passing its ID anda passed message to the
63+ existing comment by passing its ID and a passed message to the
6464 issue-write workflow.
6565 4. There has been a previous failure and the job fails - We update the
6666 existing comment in the same manner as above, but generate the comment
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ function at-exit {
3838 $retcode " ${BUILD_DIR} " /test-results.* .xml " ${MONOREPO_ROOT} " /ninja* .log \
3939 >> $GITHUB_STEP_SUMMARY
4040 python " ${MONOREPO_ROOT} " /.ci/premerge_advisor_explain.py \
41- $( git rev-parse HEAD~1) $retcode ${{ secrets. GITHUB_TOKEN } } \
41+ $( git rev-parse HEAD~1) $retcode " ${ GITHUB_TOKEN} " \
4242 $GITHUB_PR_NUMBER " ${BUILD_DIR} " /test-results.* .xml \
4343 " ${MONOREPO_ROOT} " /ninja* .log
4444 fi
Original file line number Diff line number Diff line change 6464 - name : Build and Test
6565 timeout-minutes : 120
6666 continue-on-error : ${{ runner.arch == 'ARM64' }}
67+ env :
68+ GITHUB_TOKEN : ${{ github.token }}
6769 run : |
6870 git config --global --add safe.directory '*'
6971
@@ -153,6 +155,8 @@ jobs:
153155 timeout-minutes : 180
154156 if : ${{ steps.vars.outputs.windows-projects != '' }}
155157 shell : cmd
158+ env :
159+ GITHUB_TOKEN : ${{ github.token }}
156160 run : |
157161 call C:\\BuildTools\\Common7\\Tools\\VsDevCmd.bat -arch=amd64 -host_arch=amd64
158162 # See the comments above in the Linux job for why we define each of
You can’t perform that action at this time.
0 commit comments