fix: restrict pulling to specific branch
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
7c541ffdfa
commit
29fa607190
@ -632,6 +632,7 @@ func EnsureUpToDate(recipeName string) error {
|
||||
opts := &git.PullOptions{
|
||||
Force: true,
|
||||
ReferenceName: branch,
|
||||
SingleBranch: true,
|
||||
}
|
||||
|
||||
if err := worktree.Pull(opts); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user