mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-02 12:42:21 +00:00
Fix storing steps (#3431)
Closes https://github.com/woodpecker-ci/woodpecker/issues/3427
This commit is contained in:
parent
c3cb5162fc
commit
5b0430ab4a
1 changed files with 0 additions and 5 deletions
|
@ -32,11 +32,6 @@ func start(ctx context.Context, store store.Store, activePipeline *model.Pipelin
|
|||
log.Error().Err(err).Msg("failed to cancel previous pipelines")
|
||||
}
|
||||
|
||||
if err := store.WorkflowsCreate(activePipeline.Workflows); err != nil {
|
||||
log.Error().Err(err).Str("repo", repo.FullName).Msgf("error persisting steps for %s#%d", repo.FullName, activePipeline.Number)
|
||||
return nil, err
|
||||
}
|
||||
|
||||
publishPipeline(ctx, activePipeline, repo, user)
|
||||
|
||||
if err := queuePipeline(ctx, repo, pipelineItems); err != nil {
|
||||
|
|
Loading…
Reference in a new issue