Guarantee people are using the hooks by also running the hook to make new definitions as an action and failing if the files don't match.
You can still use the approach of comparing to main to decide whether to build. This means images will basically be built on every commit in a PR that has upstream modifications to the def(s).
Guarantee people are using the hooks by also running the hook to make new definitions as an action and failing if the files don't match.
You can still use the approach of comparing to main to decide whether to build. This means images will basically be built on every commit in a PR that has upstream modifications to the def(s).