Skip to content

Commit 72d73ea

Browse files
Fix typo
1 parent 05253a1 commit 72d73ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ try {
3131
};
3232

3333
const branch = core.getInput('branch');
34-
const commentCommand = core.getInput('comment_command');
34+
const trigger_comment = core.getInput('trigger_comment');
3535
const commentPrefix = core.getInput('comment_prefix');
3636
const commentSuffix = core.getInput('comment_suffix');
3737
const commentIsGlobal = core.getInput('comment_is_global') === 'true';
@@ -57,7 +57,7 @@ try {
5757
const changesetBinary = path.join('node_modules/.bin/changeset');
5858
const versionPrefix = 'snapshot';
5959

60-
if (commentCommand.split(',').indexOf(payload.comment.body) !== -1) {
60+
if (trigger_comment.split(',').indexOf(payload.comment.body) !== -1) {
6161
await octokit.rest.reactions.createForIssueComment({
6262
...ownerRepo,
6363
comment_id: payload.comment.id,

0 commit comments

Comments
 (0)