Add a TagMergePost post-hook (#2010)

* Add a TagMergePost post-hook

Introduce a post-hook for merging tags, call it in the merge path, as
the last thing we do before returning.
This commit is contained in:
SmallCoccinelle
2021-11-19 01:12:34 +01:00
committed by GitHub
parent c1f89611e2
commit 92a5d96d3b
4 changed files with 7 additions and 0 deletions

View File

@@ -347,5 +347,6 @@ func (r *mutationResolver) TagsMerge(ctx context.Context, input models.TagsMerge
return nil, err
}
r.hookExecutor.ExecutePostHooks(ctx, t.ID, plugin.TagMergePost, input, nil)
return t, nil
}