Open scop opened 10 months ago
Mind writing up a proposed schema with an example of what data it would allow/disallow and what that message would look like?
Mini-PR in https://github.com/crate-ci/committed/pull/354 -- feel free to reuse that and the associated branch for the implementation if you're taking this on.
ignore_author_re
.Commit author `{}` does not match allowed regular expression `{}`
Seems reasonable if someone wants to implement it.
A check for allowed authors would be nice, for example so that projects wanting committers to use their project/organization related e-mail addresses for commits could check that.
I think a regex config option and related (inverse) matching similar to
ignore_author_re
could be used for this.