mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-05 18:03:53 +02:00
update context with name
This commit is contained in:
parent
da738eaa74
commit
171efe55c5
@ -768,6 +768,8 @@ func (n *actionsNotifier) MigrateRepository(ctx context.Context, doer, u *user_m
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (n *actionsNotifier) WorkflowRunStatusUpdate(ctx context.Context, repo *repo_model.Repository, sender *user_model.User, run *actions_model.ActionRun) {
|
func (n *actionsNotifier) WorkflowRunStatusUpdate(ctx context.Context, repo *repo_model.Repository, sender *user_model.User, run *actions_model.ActionRun) {
|
||||||
|
ctx = withMethod(ctx, "WorkflowRunStatusUpdate")
|
||||||
|
|
||||||
var org *api.Organization
|
var org *api.Organization
|
||||||
if repo.Owner.IsOrganization() {
|
if repo.Owner.IsOrganization() {
|
||||||
org = convert.ToOrganization(ctx, organization.OrgFromUser(repo.Owner))
|
org = convert.ToOrganization(ctx, organization.OrgFromUser(repo.Owner))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user