Rule 2 of 8 · Chapter I — Pipeline Design
The second copy-paste becomes a template.
Why this rule exists
Two pipelines sharing pasted steps drift immediately — one gets the fix, the other gets the incident. Templates give you one place to patch build, test, and scan logic for every consumer.
In practice
When a stage or job appears in a second pipeline, extract it to a templates repo and reference it. Version template refs by branch or tag so consumers upgrade deliberately.
When it doesn't apply
Truly one-off spikes can paste; delete them when the spike ends.