It would be neat if we could ship branch rulesets linked to Drainpipe jobs. That way, teams could easily set up the rules to ensure jobs are passing before merging.
https://github.com/github/ruleset-recipes has many examples.
Open questions:
- Is there a way to merge rulesets when importing them? For example, could we ship rules that just do our CI jobs so they apply on top of existing rules?
- What about rules unrelated to Drainpipe? Are there example rules in the above repo we could use as is, or should we ship our own in Drainpipe or a new project?