Skip to content

Commit 493ba8b

Browse files
authored
fix: Pass prNumber to createOrUpdateComment (#88)
1 parent 5f31d21 commit 493ba8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ async function run() {
5353
if (!inputs.skipEmpty || !planIsEmpty(plan)) {
5454
// 5) Post comment with markdown (if applicable)
5555
await core.group('Render comment', () => {
56-
return createOrUpdateComment({ octokit, content: planMarkdown })
56+
return createOrUpdateComment({ octokit, content: planMarkdown, prNumber: inputs.prNumber })
5757
})
5858
} else {
5959
// 6) Delete existing comment if plan is empty and skip-empty is enabled

0 commit comments

Comments
 (0)