sourcery icon indicating copy to clipboard operation
sourcery copied to clipboard

PR review bot: Possible to disable "overall comments" and line-level suggestions?

Open blakeNaccarato opened this issue 1 year ago • 0 comments

Checklist

  • [x] This is a new feature, not a refactoring suggestion
  • [x] I have checked for this feature in the Sourcery documentation
  • [x] I have checked there are no open requests referencing the same feature

Description

I like the PR summarizing/digest features of the AI review bot, and think it could be helpful as a "rough draft" review summary. However, I would really like to disable the line-level scrutiny, comments, and improvement suggestions of the review bot.

Regardless of the quality or tone of these suggestions, I'd like to have a policy in my projects that the quality of PRs submitted by others isn't directly assessed by the bot, which I think can be a bit impersonal and off-putting. Besides, any invalid/excessive suggestions may generate churn and unnecessary commits in an attempt to "appease" our robot overlords 😅 before a human reviewer gets around to it.

I tried passing the following to the "instructions" dashboard section, but review comments were still made. I left the path glob empty so maybe that needs to be **/* or * or something, or those instructions do not affect the actual comment mechanism itself.

- Please do not make any comments.
- Please do not give any suggestions for improvement.

Anyways, I appreciate that the other toggles are present, and I imagine the review comments are the "first line

blakeNaccarato avatar Oct 08 '24 19:10 blakeNaccarato