Not sure if this is the correct category but I have downloaded the sources for the pi-gadget snap from GitHub with a view to making some custom slot additions. However the snap does not build out of the box (prior to my changes). It seems that the snapcraft.yaml file is not compliant with base core22 (run-on should be replaced with run for in core22). Have I downloaded the wrong branch?
I previously tried the core20 branch and that built straight out of the box.