You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gitea's commit status webhooks are malformed and thus rejected by Discord. This is because it only provides a relative URL (like /minecraft-pi-reborn/runtime/actions/runs/7/jobs/1) instead of a full URL (like https://gitea.thebrokenrail.com/minecraft-pi-reborn/runtime/actions/runs/7/jobs/1). The issue seems to be caused by this line.
Gitea Version
1.23.3
Can you reproduce the bug on the Gitea demo site?
Probably. But I do not have the time to set up an additional Gitea Actions runner just to test a webhook.
Log Gist
No response
Screenshots
After manually modifying the request, it worked:
BTW this should probably just use the short commit hash.
Git Version
No response
Operating System
No response
How are you running Gitea?
Using the official Gitea Docker image.
Database
None
The text was updated successfully, but these errors were encountered:
Gitea Actions generated target url doesn't contain host and port. So we
need to include them for external webhook visiting.
Fixgo-gitea#33603
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Description
Gitea's commit status webhooks are malformed and thus rejected by Discord. This is because it only provides a relative URL (like
/minecraft-pi-reborn/runtime/actions/runs/7/jobs/1
) instead of a full URL (likehttps://gitea.thebrokenrail.com/minecraft-pi-reborn/runtime/actions/runs/7/jobs/1
). The issue seems to be caused by this line.Gitea Version
1.23.3
Can you reproduce the bug on the Gitea demo site?
Probably. But I do not have the time to set up an additional Gitea Actions runner just to test a webhook.
Log Gist
No response
Screenshots
After manually modifying the request, it worked:
BTW this should probably just use the short commit hash.
Git Version
No response
Operating System
No response
How are you running Gitea?
Using the official Gitea Docker image.
Database
None
The text was updated successfully, but these errors were encountered: