chore: add extra fields to Run and RunJob

This commit is contained in:
Jason Song
2022-11-10 18:02:08 +08:00
parent cab3fc072a
commit 5e7adf2004
6 changed files with 36 additions and 5 deletions

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,