-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
good first issueLikely to be an easy fixLikely to be an easy fixhacktoberfesttype/enhancementAn improvement of existing functionalityAn improvement of existing functionalitytype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
It would be great if Gitea could include the head_commit
in the push
webhook if the object is a tag. For reference this is what GitHub sends in the push hook if the object is a tag:
{
"ref": "refs/tags/v0.0.1",
"before": "0000000000000000000000000000000000000000",
"after": "d2b75aa7797ec26b088fa2dd527e9d2c052fcedd",
"created": true,
"deleted": false,
"forced": false,
"base_ref": "refs/heads/master",
"compare": "https://github.com/bradrydzewski/drone-test-go/compare/v0.0.1",
"commits": [
],
"head_commit": {
"id": "d2b75aa7797ec26b088fa2dd527e9d2c052fcedd",
"tree_id": "f38d6b02c9ee18de68e5e6682721a22df4c9a29d",
"distinct": true,
"message": "Update .drone.yml",
"timestamp": "2018-06-19T19:03:12-07:00",
"url": "https://github.com/bradrydzewski/drone-test-go/commit/d2b75aa7797ec26b088fa2dd527e9d2c052fcedd",
"author": {
"name": "Brad Rydzewski",
"email": "noreply@github.com",
"username": "bradrydzewski"
},
"committer": {
"name": "GitHub",
"email": "noreply@github.com",
"username": "web-flow"
},
"added": [
],
"removed": [
],
"modified": [
".drone.yml"
]
}
}
For my specific use case, I would like to display the commit details (email address, commit message, etc) in the user interface in Drone. Currently these fields are blank. Thanks!
tonivj5, renothing and kolaentetonivj5 and renothingtonivj5 and renothing
Metadata
Metadata
Assignees
Labels
good first issueLikely to be an easy fixLikely to be an easy fixhacktoberfesttype/enhancementAn improvement of existing functionalityAn improvement of existing functionalitytype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.