You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-23 21:44:44 +02:00
Spelling (#1405)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -304,7 +304,7 @@ func (c *client) Netrc(u *model.User, r *model.Repo) (*model.Netrc, error) {
|
||||
}, nil
|
||||
}
|
||||
|
||||
// Deactivate deactives the repository be removing registered push hooks from
|
||||
// Deactivate deactivates the repository be removing registered push hooks from
|
||||
// the GitHub repository.
|
||||
func (c *client) Deactivate(ctx context.Context, u *model.User, r *model.Repo, link string) error {
|
||||
client := c.newClientToken(ctx, u.Token)
|
||||
@@ -508,7 +508,7 @@ func (c *client) Branches(ctx context.Context, u *model.User, r *model.Repo) ([]
|
||||
return branches, nil
|
||||
}
|
||||
|
||||
// BranchHead returns the sha of the head (lastest commit) of the specified branch
|
||||
// BranchHead returns the sha of the head (latest commit) of the specified branch
|
||||
func (c *client) BranchHead(ctx context.Context, u *model.User, r *model.Repo, branch string) (string, error) {
|
||||
token := ""
|
||||
if u != nil {
|
||||
|
||||
Reference in New Issue
Block a user