Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixPullHeadSha ¶
func FixPullHeadSha(client *gitea.Client, pr *gitea.PullRequest) error
FixPullHeadSha is a workaround for https://github.com/go-gitea/gitea/issues/12675 When no head sha is available, this is because the branch got deleted in the base repo. pr.Head.Ref points in this case not to the head repo branch name, but the base repo ref, which stays available to resolve the commit sha.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.