I've got an automation that tries to discourage ov...
# how-do-i
n
I've got an automation that tries to discourage over-sized PRs, based on lines of code. However, any time anyone touches an npm lockfile, this automation triggers. But these lockfiles aren't getting manual review (CI asserts that they are appropriate for the
package.json
) and so I think the warning is inappropriate. Is there some way to say "if line-count excluding this file > x"?
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
n
I think my initial message provides all the appropriate context
p
hey Nathaniel, I don't think Automations have triggers at that granular level of custom logic at this time but it'd certainly be a powerful addition to the feature!
👍 1