go-vela / community

Community Information for Vela (Target's official Pipeline Automation Framework)
https://go-vela.github.io/docs/
Apache License 2.0
22 stars 3 forks source link

A plugin for codeowners-validator #479

Open colindean opened 2 years ago

colindean commented 2 years ago

Description

I'd like to validate CODEOWNERS files whenever they've been changed.

Value

Breaking this automation by committing an invalid configuration can lead to review stagnation.

Definition of Done

A Vela plugin exists that consumes wires https://github.com/mszostok/codeowners-validator into a Vela plugin

Effort (Optional)

This should be "as easy as" marshalling Vela's parameters into the envvars that codeowners-validator expects.

Impacted Personas (Optional)

GitHub users will benefit from knowing that their changes to CODEOWNERS are valid since GitHub web app doesn't do that.

colindean commented 2 years ago

I've built this and am testing it internally.