Unverified Commit a606ff7e authored by Hendrik Liebau's avatar Hendrik Liebau Committed by GitHub

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.
parent fdb76531
...@@ -69,7 +69,7 @@ async function main() { ...@@ -69,7 +69,7 @@ async function main() {
await octokit.rest.issues.addLabels({ await octokit.rest.issues.addLabels({
owner, owner,
repo, repo,
issue_number: pullRequest.number, issue_number: pullRequest.data.number,
labels: ['run-react-18-tests'], labels: ['run-react-18-tests'],
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment