chore: add extra fields to Run and RunJob

This commit is contained in:
Jason Song committed 2022-11-25 17:48:47 +08:00
1 parent cab3fc072a
commit 5e7adf2004
6 files changed
+36 -5

No files matched your search

+1
View File
@@ -75,6 +75,7 @@ func notify(repo *repo_model.Repository, doer *user_model.User, ref string, evt
run := bots_model.Run{
Title: commit.Message(),
RepoID: repo.ID,
OwnerID: repo.OwnerID,
WorkflowID: id,
TriggerUserID: doer.ID,
Ref: ref,