Shared clone step definition #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The clone step (woodpeckerci/plugin-git + CI_NETRC_MACHINE: git.oleks.space + gitea_clone_token + PLUGIN_TAGS/DEPTH) is verbatim in essentially every pipeline in ~/projects. Define once and reuse.
Added the canonical clone-step snippet at
templates/clone-step.yaml(7fbf343, on top of 7a434fa..main). It's a copy-paste block (not machine-included, since Woodpecker has noinclude:), documents when to reach for it vs relying on implicit clone auth, and cross-references thegitea_clone_tokenorg secret. Closing.