Open dawsbot opened 7 years ago
Maybe https://github.com/probot ?
cc @bkeepers @lee-dohm
@dawsbot Probot could definitely cover this kind of thing and is Node-based. You might even want to take a look at our probot/DCO repo for an example of something similar.
probot/dco, which checks that all commits in a PR have the Signed-off-by
line in the commit message, could be used as an example starting point for this.
Specifically check out: https://github.com/probot/dco/blob/master/index.js#L20-L35
Doh, sorry @lee-dohm, your comment didn't show up for me until after I posted.
Hey @zeke and others,
Looking for a bot that would perform a regex check on a predictable file (
yarn.lock
) and reject the PR if that regex matches. Seems like a good general-purpose bot people could use. Ruby's Danger could potentially cover this use case, but do you know of an existing solution for this use case that's node-based? Or perhaps generically bash-based even.