mirror of
https://github.com/go-gitea/gitea.git
synced 2025-05-18 00:49:09 -04:00
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)
|
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,
|
Repo: repo,
|
||||||
SHA: payload.HeadCommit.ID,
|
SHA: payload.HeadCommit.ID,
|
||||||
Creator: creator,
|
Creator: creator,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user