do not set custom submodule.*.update script if depth=0
do not set custom submodule.*.update script if depth=0

The shallow clone deepening script is no-op if depth is 0 (or not set in
params). Setting the submodule update method to run this script when
depth is 0 means the submodule will not be correctly updated.

concourse/git-resource