Open
Description
Description
I am running Gitea and Woodpecker CI. For some releases now there might be a bug in the mail address of the commit author / pusher, that gets sent to Woodpecker via the web hook.
Here is an example of the Content Request:
{
"ref": "refs/heads/main",
"before": "a930081ca449a21d4416bdeb345bc4d3181b916e",
"after": "3d6d4085e41d1a044a67c15ddb99a7ea4746ded7",
"compare_url": "xxxx/compare/a930081ca449a21d4416bdeb345bc4d3181b916e...3d6d4085e41d1a044a67c15ddb99a7ea4746ded7",
"commits": [
{
"id": "3d6d4085e41d1a044a67c15ddb99a7ea4746ded7",
"message": "Update .woodpecker.yml\n",
"url": "xxxx/commit/3d6d4085e41d1a044a67c15ddb99a7ea4746ded7",
"author": {
"name": "Philip Kozeny",
"email": "[email protected]",
"username": "philip.kozeny"
},
"committer": {
"name": "Philip Kozeny",
"email": "[email protected]",
"username": "philip.kozeny"
},
"verification": null,
"timestamp": "2023-12-19T10:32:26Z",
"added": [],
"removed": [],
"modified": [
".woodpecker.yml"
]
}
],
"total_commits": 1,
"head_commit": {
"id": "3d6d4085e41d1a044a67c15ddb99a7ea4746ded7",
"message": "Update .woodpecker.yml\n",
"url": "xxx/commit/3d6d4085e41d1a044a67c15ddb99a7ea4746ded7",
"author": {
"name": "Philip Kozeny",
"email": "[email protected]",
"username": "philip.kozeny"
},
"committer": {
"name": "Philip Kozeny",
"email": "[email protected]",
"username": "philip.kozeny"
},
"verification": null,
"timestamp": "2023-12-19T10:32:26Z",
"added": [],
"removed": [],
"modified": [
".woodpecker.yml"
]
},
...
"pusher": {
"id": 1,
"login": "philip.kozeny",
"login_name": "",
"full_name": "Philip Kozeny",
"email": "[email protected]",
...
},
"sender": {
"id": 1,
"login": "philip.kozeny",
"login_name": "",
"full_name": "Philip Kozeny",
"email": "[email protected]",
...
"username": "philip.kozeny"
}
}
As you can see in "pusher" the email is suddenly refilled with another domain. Here is also the issue I have created on Woodpeckers side: woodpecker-ci/woodpecker#2971
Gitea Version
1.21.2
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Self hosted binary with systemd on an arch linux machine
Database
SQLite