Can Diamond inspect the description as well as the...
# how-do-i
c
Can Diamond inspect the description as well as the code? For SOC purposes, we need to ensure that the PR descriptions are filled out, and sometimes people forget (or forget to link a JIRA ticket when there should be one, etc.)
p
(If applicable) To help us more clearly understand what you're trying to do, please provide additional details about: - Screenshots / debug logs / list of commands you've tried to run so far - Your workflow - Current state
hey Christopher, while the AI Reviewer does have access to the title and description in its context it is intended to review the code so when it comments it does so only on the file-level and not the discussion level. An alternative you could use is Graphite's Automations which has a Descriptions trigger for contains/does not contain text. And it can comment at the discussion level.
c
oooo... fancy. Ty @Gareth Brickman
Hmm... that doesn't actually work as nicely as I wanted. This is more a "hey you forgot to do X or do a part of X". I can check for our PR template (but I don't see an obvious way to do something like "if you see any of the words xxx" only "if you see all the words xxx"), but that's a little less great