-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: fixed /stop formatting #33
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @cohow
This doesn't affect the working logic that's causing the issue
})?.logMessage.diff as string)
the problem is that the error is throwing the diff string which is bubbling up into the catch-all and then it's also being wrapped in a code block.
To fix the issue use logMessage.raw
instead, only addCommentToIssue()
should use .diff
any errors should use .raw
.
should be good to go now I believe
I'll make sure to remember that for any future issue. Thanks! |
Seems to work fine when tested on my organization: Meniole#10 (comment) @cohow next time please provide your own tests as well. However, the commit names do not respect Conventional Commit name, if you can please blame and rename it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will approve when commit is renamed.
tests/main.test.ts
Outdated
@@ -565,7 +565,7 @@ function createContext( | |||
reviewDelayTolerance: "3 Days", | |||
taskStaleTimeoutDuration: "30 Days", | |||
maxConcurrentTasks: 3, | |||
startRequiresWallet, | |||
startRequiresWallet: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
while rebasing it seems like i merged a new commit from development branch that includes that change, i’ll revert and commit new changes soon.
@gentlementlegen requested changes have been done, sorry about the delay I fell asleep yesterday haha. |
@cohow take a look at this cheatsheet for conventional commits. Using |
Okay I think I finally got it right this time... I forgot to add fix: before my apologies. Interestingly though other repos like https://github.com/ubiquibot/conversation-rewards would not let me commit without a proper commit name. Would be very nice to implement across all repos. |
Supposedly the webhooks should run with husky before you commit. Maybe there is something wrong with the setup on this repo, thank you for fixing. |
I actually tested your commit title locally in this repo without using |
Resolves #32