mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 00:46:30 +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. |
||
---|---|---|
.. | ||
backend | ||
frontend | ||
multipart | ||
rpc | ||
samples | ||
schema | ||
shared | ||
error.go | ||
error_test.go | ||
logger.go | ||
option.go | ||
pipeline.go | ||
stepBuilder.go | ||
stepBuilder_test.go | ||
tracer.go |