mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-12 08:23:48 +02:00
28e96a3851
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. |
||
---|---|---|
.. | ||
fixtures | ||
gitea_test.go | ||
gitea.go | ||
helper_test.go | ||
helper.go | ||
parse_test.go | ||
parse.go | ||
types.go |