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
Backport #27182 by @jolheiserResolves#27180
`URL` points to the API URL, `HTMLURL` points to the web page.
Notably, however, for PRs they are the same URL. I switched them to use
HTMLURL to match the rest of the codebase terminology.
Co-authored-by: John Olheiser <[email protected]>
Backport #27182 by @jolheiserResolves#27180
`URL` points to the API URL, `HTMLURL` points to the web page.
Notably, however, for PRs they are the same URL. I switched them to use
HTMLURL to match the rest of the codebase terminology.
Co-authored-by: John Olheiser <[email protected]>
Backport go-gitea#27182 by @jolheiserResolvesgo-gitea#27180
`URL` points to the API URL, `HTMLURL` points to the web page.
Notably, however, for PRs they are the same URL. I switched them to use
HTMLURL to match the rest of the codebase terminology.
Co-authored-by: John Olheiser <[email protected]>
(cherry picked from commit d8583ed)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
If you setup a Discord webhook and create a release, the message posted to Discord will link to the Gitea API, rather than the user-accessible link.
For instance, it will link to https://gitea.thebrokenrail.com/api/v1/repos/minecraft-pi-reborn/minecraft-pi-reborn/releases/482 instead of https://gitea.thebrokenrail.com/minecraft-pi-reborn/minecraft-pi-reborn/releases/tag/2.4.9.
Reproduced on https://try.gitea.io as well: https://try.gitea.io/TheBrokenRail/Discord-Webhook-Bug/releases/tag/test
Gitea Version
1.20.4
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
2.40.1, Wire Protocol Version 2 Enabled
Operating System
Ubuntu 20.04
How are you running Gitea?
Using the Docker image.
Database
SQLite
The text was updated successfully, but these errors were encountered: