Skip to content

Commit 1520ebf

Browse files
authored
[CI] Use correct variable in windows pre-commit on comment workflow (#8471)
The `number` variable doesn't exist after #8297 . The patch updates workflow to use full name `context.issue.number`.
1 parent 0d720a8 commit 1520ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/windows_test_comment_trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
const pr = await github.rest.pulls.get({
2929
owner: context.issue.owner,
3030
repo: context.issue.repo,
31-
pull_number: number
31+
pull_number: context.issue.number
3232
});
3333
return pr.data.head.sha
3434
- name: update_pr_status_pending

0 commit comments

Comments
 (0)