mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-21 21:05:18 +02:00
fix: use ref in options
This commit is contained in:
parent
66b558017f
commit
e37b3911d8
@ -471,7 +471,7 @@ func (a *botsNotifier) NotifySyncPushCommits(ctx context.Context, pusher *user_m
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := notify(repo, pusher, apiHeadCommit.ID, webhook.HookEventPush, &api.PushPayload{
|
if err := notify(repo, pusher, opts.RefFullName, webhook.HookEventPush, &api.PushPayload{
|
||||||
Ref: opts.RefFullName,
|
Ref: opts.RefFullName,
|
||||||
Before: opts.OldCommitID,
|
Before: opts.OldCommitID,
|
||||||
After: opts.NewCommitID,
|
After: opts.NewCommitID,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user