You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #106 we added the ability to comment conditionally where a diff contains some substring.
It would be nice to extend this to be able to differentiate on additions and deletions. For example, a config like
UnsafeMentionedInCode:
paths:
- "backend/**/*.hs"where:
additions:
contain:
- unsafebody: | :wave: Hi, I see an addition of "unsafe" in Haskell code. Please consider finding a safer alternative!
would only comment if the additions to a patch matching backend/**/*.hs contained the substring unsafe. The current additions_or_deletions key will comment if the change is found anywhere in the patch.
The text was updated successfully, but these errors were encountered:
In #106 we added the ability to comment conditionally where a diff contains some substring.
It would be nice to extend this to be able to differentiate on additions and deletions. For example, a config like
would only comment if the additions to a patch matching
backend/**/*.hs
contained the substringunsafe
. The currentadditions_or_deletions
key will comment if the change is found anywhere in the patch.The text was updated successfully, but these errors were encountered: