mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00:00
chore(gRPC): support update stage and step method.
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
@@ -87,7 +87,7 @@ func notify(repo *repo_model.Repository, doer *user_model.User, payload, ref str
|
||||
for i, entry := range matchedEntries {
|
||||
taskStatuses := make(map[string]bots_model.BuildStatus)
|
||||
for k := range jobs[i] {
|
||||
taskStatuses[k] = bots_model.BuildPending
|
||||
taskStatuses[k] = bots_model.StatusPending
|
||||
}
|
||||
workflowsStatuses[entry.Name()] = taskStatuses
|
||||
}
|
||||
@@ -98,7 +98,7 @@ func notify(repo *repo_model.Repository, doer *user_model.User, payload, ref str
|
||||
TriggerUserID: doer.ID,
|
||||
Event: evt,
|
||||
EventPayload: payload,
|
||||
Status: bots_model.BuildPending,
|
||||
Status: bots_model.StatusPending,
|
||||
Ref: ref,
|
||||
CommitSHA: commit.ID.String(),
|
||||
}
|
||||
|
Reference in New Issue
Block a user