Rename PRRefs to PullRequestRefs and PR comment cleanup

This commit is contained in:
Tyler McGoffin 2025-01-29 11:41:23 -08:00
parent e31bfd0092
commit e0f624ba24
6 changed files with 35 additions and 35 deletions

View file

@ -474,7 +474,7 @@ func (c *Client) RemotePushDefault(ctx context.Context) (string, error) {
}
// ParsePushRevision gets the value of the @{push} revision syntax
// An error here doesn't necessarily mean something are broke, but may mean that the @{push}
// An error here doesn't necessarily mean something is broken, but may mean that the @{push}
// revision syntax couldn't be resolved, such as in non-centralized workflows with
// push.default = simple. Downstream consumers should consider how to handle this error.
func (c *Client) ParsePushRevision(ctx context.Context, branch string) (string, error) {

View file

@ -769,7 +769,7 @@ func TestClientReadBranchConfig(t *testing.T) {
branch.trunk.merge refs/heads/trunk
branch.trunk.pushremote origin
branch.trunk.gh-merge-base gh-merge-base
`),
`),
},
},
branch: "trunk",