ci: get rid of some template inheretence in yaml
its confusing and it took 3 attempts to get before_script
to fucntion as expected. Instead get rid of the anchor
and use a (questionable) but simpler heuristic to detemine
when to update the lockfile.
Edited by Jordan Petridіs