On Tue, Jul 14, 2020 at 8:58 PM Ingo Klöcker <kloec...@kde.org> wrote: > > On Dienstag, 14. Juli 2020 10:20:33 CEST Kåre Särs wrote: > > Is there a way to verify that the yaml file is syntactically correct before > > pushing the change? > > There are loads of YAML linters/validators, online and offline. In fact, this > would be an opportunity to test-drive the awesome GitLab CI/CD. I volunteer to > implement this, if sysadmin is okay with this.
Please feel free to go ahead with this. > > Or do you mean "semantically correct", i.e. also checking for valid projects? The best you could do is check to see if it is a valid regex (as supported by procmail) I think, as otherwise regex rules such as frameworks/.* would be considered invalid. > > Regards, > Ingo Thanks, Ben