News for hackers. Stuff that matters.
Re:Running GitHub Actions for Certain Commit Messages by momothereal on Thursday October 01, 2020 @09:30AM (#24650573)
The yaml config is perfectly suited for small/toy projects, which is probably what GitHub intended. Even in larger projects I've never had to use the scripting language.

On the other end, we now use Jenkins (the newer version), so every job is a huge Groovy script pretending to be a config file. Much steeper learning curve for anything simple.

Pick your poison.

Re:Running GitHub Actions for Certain Commit Messages by toomanybeersies on Thursday October 01, 2020 @12:30PM (#24652906)
I feel like ruby (or a DSL written in ruby) would be the ideal language for writing CI pipeline "configurations".

You'd end up with config files that are actually readable (even to non-rubyists), with a shallow learning curve, but still easily extensible.

Here's a 5 minute mockup: https://gist.github.com/gkampjes/559ebe708343bb7c2f590c0065d...

Looks nicer than any .yaml file (or Groovy script) I've ever seen.

Re:Running GitHub Actions for Certain Commit Messages by baq on Thursday October 01, 2020 @11:12AM (#24651804)
i'm in an apparent minority that thinks configuration shouldn't be turing-complete :) but then, to counter my own point, 'configuration' is not as easy to define as i'd like.