mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 12:21:03 +00:00
Merge pull request #608 from shopa/fix-wrong-drone-branch
Fix incorrect drone branch for pull requests
This commit is contained in:
commit
cb7cf41f11
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ func (r *GitHub) ParsePullRequestHook(req *http.Request) (*model.Hook, error) {
|
||||||
Owner: data.Repo.Owner.Login,
|
Owner: data.Repo.Owner.Login,
|
||||||
Repo: data.Repo.Name,
|
Repo: data.Repo.Name,
|
||||||
Sha: data.PullRequest.Head.Sha,
|
Sha: data.PullRequest.Head.Sha,
|
||||||
Branch: data.PullRequest.Base.Ref,
|
Branch: data.PullRequest.Head.Ref,
|
||||||
Author: data.PullRequest.User.Login,
|
Author: data.PullRequest.User.Login,
|
||||||
Gravatar: data.PullRequest.User.GravatarId,
|
Gravatar: data.PullRequest.User.GravatarId,
|
||||||
Timestamp: time.Now().UTC().String(),
|
Timestamp: time.Now().UTC().String(),
|
||||||
|
|
Loading…
Reference in a new issue