Sometimes, it’s useful to manipulate the way Woodpecker Pipelines clone and organize your code. For example, if you need to clone other repositories as well, putting them into their own folders can make for much less hassle than repos-within-a-repo that aren’t submodules.

See also

Note that when overriding the default clone step, it has to be done outside of the steps section of the pipeline file!

Don’t clone at all

If you don’t need the project repository cloned at all, you can simply specify

skip_clone: true

in the top level of the workflow YAML.