Skip to content

Commit 9c26f56

Browse files
committed
Disable the squash command in command parsing.
1 parent f8afbeb commit 9c26f56

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

homu/parse_issue_comment.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,14 @@ def parse_issue_comment(username, body, sha, botname, hooks=[]):
236236
commands.append(IssueCommentCommand.rollup(rollup_value))
237237

238238
elif word == 'squash':
239-
commands.append(IssueCommentCommand.squash())
239+
# Squash is broken, prevent its usage.
240+
# commands.append(IssueCommentCommand.squash())
241+
pass
240242

241243
elif word == 'squash-':
242-
commands.append(IssueCommentCommand.unsquash())
244+
# Squash is broken, prevent its usage.
245+
# commands.append(IssueCommentCommand.unsquash())
246+
pass
243247

244248
elif word == 'force':
245249
commands.append(IssueCommentCommand.force())

0 commit comments

Comments
 (0)