Skip to content
Browse files

Include the Sha in webhook create payloads. (#5689)

  • Loading branch information...
Beanow authored and unknwon committed Jul 10, 2019
1 parent 25fdf6c commit 798636c95b207fc97a785ce545d7af7197361447
Showing with 2 additions and 0 deletions.
  1. +1 −0 models/action.go
  2. +1 −0 vendor/
@@ -604,6 +604,7 @@ func CommitRepoAction(opts CommitRepoActionOptions) error {
if err = PrepareWebhooks(repo, HOOK_EVENT_CREATE, &api.CreatePayload{
Ref: refName,
RefType: "tag",
Sha: opts.NewCommitID,
DefaultBranch: repo.DefaultBranch,
Repo: apiRepo,
Sender: apiPusher,

Some generated files are not rendered by default. Learn more.

0 comments on commit 798636c

Please sign in to comment.
You can’t perform that action at this time.