Skip to content

Commit 54d16eb

Browse files
feedback
Created using spr 1.3.7
1 parent 7e44989 commit 54d16eb

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.ci/premerge_advisor_explain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

.ci/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

.github/workflows/premerge.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ jobs:
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

0 commit comments

Comments
 (0)