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
There could be a flag --ignore-bots for ignoring all known bots, and also flags for individual bots, i.e. --ignore-dependabot.
In the first implementation, we could add just --ignore-dependabot, and leave --ignore-bots for when another bot is added.
I imagined that we could detect dependabot by looking for the string Signed-off-by: dependabot-preview[bot] <support@dependabot.com> in the commit message.
I wouldn't want to maintain a list of bots in this project. One could have a private custom bot in use that shouldn't be listed in an open source project. Maybe we can come up with something a little more generic and simple.
How about a simple string grep and ignore on match? E.g. --ignore-grep "[bot]".
Activity
mantoni commentedon Feb 21, 2020
That's an interesting idea. How would we do this? Maybe by adding a flag to specify bot users to ignore?
mroderick commentedon Feb 22, 2020
There could be a flag
--ignore-botsfor ignoring all known bots, and also flags for individual bots, i.e.--ignore-dependabot.In the first implementation, we could add just
--ignore-dependabot, and leave--ignore-botsfor when another bot is added.I imagined that we could detect dependabot by looking for the string
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>in the commit message.mantoni commentedon Feb 23, 2020
I wouldn't want to maintain a list of bots in this project. One could have a private custom bot in use that shouldn't be listed in an open source project. Maybe we can come up with something a little more generic and simple.
How about a simple string grep and ignore on match? E.g.
--ignore-grep "[bot]".mroderick commentedon Feb 23, 2020
If we can add multiple of these, then that would solve the problem for me 👍
mantoni commentedon Feb 23, 2020
Passing the same flag multiple times makes it an array. Something like
[].concat(opts.ignoreGrep)should work.