workaround

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2021 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL