Changed format to be a Cloudy script. https://github.com/aklump/cloudy
Changed query string from ref=refs/heads/main to branch=main
Changed the format of the $conf['jobs'] array and added one more layer to support targetting single repositories. You will need to manually update your config files.