gogs / go-gogs-client

Gogs API client in Go.
MIT License
233 stars 145 forks source link

[Feature] Include the Sha in create webhooks #103

Closed Beanow closed 5 years ago

Beanow commented 5 years ago

For Drone CI integrations, having the commit Sha in a create (tag) webhook event is being relied on for docker builds. See https://github.com/drone-plugins/drone-docker/issues/229

Please add this to the payload.

Git tea does make this available, visible here https://github.com/go-gitea/go-sdk/blob/2858b80da5f75fa2eea3fcf3205a5e6fd16da0ec/gitea/hook.go#L196

unknwon commented 5 years ago

Closed by https://github.com/gogs/go-gogs-client/pull/104