Skip to content

Commit a606ff7

Browse files
authored
Fix octokit.rest.issues.addLabels call (#76601)
Follow-up for #76544. [Failed worflow run](https://github.com/vercel/next.js/actions/runs/13560755436/job/37903278074) The PR number was incorrectly retrieved from the `octokit.rest.pulls.create` response.
1 parent fdb7653 commit a606ff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/automated-update-workflow.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ async function main() {
6969
await octokit.rest.issues.addLabels({
7070
owner,
7171
repo,
72-
issue_number: pullRequest.number,
72+
issue_number: pullRequest.data.number,
7373
labels: ['run-react-18-tests'],
7474
})
7575

0 commit comments

Comments
 (0)