mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-03-03 15:22:25 +02:00
If the repo was renamed, there's an issue with Gitea: it redirects the /api/v1/repos/<owner>/<repo>/hooks POST request to a GET request at the same URL. This URL returns the list of all hooks, thus the Gitea SDK can't parse the response into a single gitea.Hook type. A better error is also visisble if the repo was deleted.