Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions backend/plugins/zentao/tasks/bug_commits_extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ func ExtractBugCommits(taskCtx plugin.SubTaskContext) errors.Error {
if err != nil {
return nil, errors.Default.WrapRaw(err)
}
// only linked2revision action is valid
if res.Action != "linked2revision" {
// only linked2revision and gitcommited action is valid
if res.Action != "linked2revision" && res.Action != "gitcommited" {
return nil, nil
}

Expand Down
4 changes: 2 additions & 2 deletions backend/plugins/zentao/tasks/story_commits_extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ func ExtractStoryCommits(taskCtx plugin.SubTaskContext) errors.Error {
return nil, errors.Default.WrapRaw(err)
}

// only linked2revision action is valid
if res.Action != "linked2revision" {
// only linked2revision and gitcommited action is valid
if res.Action != "linked2revision" && res.Action != "gitcommited" {
return nil, nil
}

Expand Down
4 changes: 2 additions & 2 deletions backend/plugins/zentao/tasks/task_commits_extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ func ExtractTaskCommits(taskCtx plugin.SubTaskContext) errors.Error {
return nil, errors.Default.WrapRaw(err)
}

// only linked2revision action is valid
if res.Action != "linked2revision" {
// only linked2revision and gitcommited action is valid
if res.Action != "linked2revision" && res.Action != "gitcommited" {
return nil, nil
}

Expand Down