Skip to content

Commit

Permalink
Do not fail on remote exists
Browse files Browse the repository at this point in the history
  • Loading branch information
KacperMalachowski committed Oct 18, 2024
1 parent 286db75 commit c64fce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/github/bumper/bumper.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func gitPush(remote, remoteBranch string, repo *git.Repository, auth transport.A
if _, err := repo.CreateRemote(&config.RemoteConfig{
Name: forkRemoteName,
URLs: []string{remote},
}); err != nil {
}); err != nil && err != git.ErrRemoteExists {
return fmt.Errorf("create remote: %w", err)
}
// if err := Call(stdout, stderr, gitCmd, "remote", "add", forkRemoteName, remote); err != nil {
Expand Down

0 comments on commit c64fce0

Please sign in to comment.