harness-drone/remote/gitea
Diep Pham e3a5376d01 uses email from Sender field of push event
Gitea/Gogs [set repository owner](d644e88107/models/pull.go (L469)) information as Pusher in webhook.

For example, if we have a repository: git.example.com/org1/repo1, owner
of repository will be `org1` and the email field will be empty. This PR
changes gitea/gogs helpers to use the email in Sender field, which is
the user that click the merge button.
2018-02-06 15:15:24 +07:00
..
fixtures uses email from Sender field of push event 2018-02-06 15:15:24 +07:00
gitea.go Urgent fix for changed auth behavior on Gitea 2017-10-13 07:56:24 +02:00
gitea_test.go Urgent fix for changed auth behavior on Gitea 2017-10-13 07:56:24 +02:00
helper.go uses email from Sender field of push event 2018-02-06 15:15:24 +07:00
helper_test.go Add testing. 2017-11-04 23:19:01 +08:00
parse.go update hook event 2017-05-24 10:16:32 +08:00
parse_test.go feat: add gitea remote driver. 2017-05-24 10:16:31 +08:00
types.go uses email from Sender field of push event 2018-02-06 15:15:24 +07:00