mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
3158980d3e
When in local mode, `getWorkflowIDFromStep` can handle normal steps with a name like `wp_01h2a6qggwz68zekrkbwqq9rny_0_step_0`. However, it will fail on clone (unless `skip_clone: true`) with an `invalid step name` error. ``` invalid step name wp_01h2a2ebppp43bwjdfdsyj1m6m_0_clone ``` This patch handles either `_stage_` or `_clone` as the separator that the local backend can use to extract the workflowID. |
||
---|---|---|
.. | ||
local.go |