mirror of https://github.com/go-gitea/gitea.git
fix: ctx for NewCommitStatus
This commit is contained in:
parent
f414fd6141
commit
f114a9c80a
|
@ -53,7 +53,7 @@ func CreateCommitStatus(ctx context.Context, job *actions_model.ActionRunJob) er
|
|||
return fmt.Errorf("GetLatestCommitStatus: %w", err)
|
||||
}
|
||||
|
||||
if err := git_model.NewCommitStatus(git_model.NewCommitStatusOptions{
|
||||
if err := git_model.NewCommitStatus(ctx, git_model.NewCommitStatusOptions{
|
||||
Repo: repo,
|
||||
SHA: payload.HeadCommit.ID,
|
||||
Creator: creator,
|
||||
|
|
Loading…
Reference in New Issue