Skip to content

Commit

Permalink
fix: use prInfo.number not number
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Dec 21, 2021
1 parent e3c4343 commit 52f0a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ async function main() {
await octokit.request(`POST /repos/{owner}/{repo}/pulls/{number}`, {
owner,
repo,
number,
number: prInfo.number,
title: inputs.title,
body: inputs.body,
});
Expand Down

0 comments on commit 52f0a61

Please sign in to comment.