Looks like GetRepoRef doesn't correcly handle gitea repo refs response expecting a single entry. Instead, at least with latest gitea version, the response is always an array of refs. So use GetRepoRefs. |
||
|---|---|---|
| .. | ||
| gitea.go | ||
| parse.go | ||
| types.go | ||
Looks like GetRepoRef doesn't correcly handle gitea repo refs response expecting a single entry. Instead, at least with latest gitea version, the response is always an array of refs. So use GetRepoRefs. |
||
|---|---|---|
| .. | ||
| gitea.go | ||
| parse.go | ||
| types.go | ||