Misc Changes
This commit is contained in:
@@ -32,7 +32,11 @@ internal fun fetchLevel(): Level = level(
|
||||
git("branch", "--set-upstream-to=origin/master", "master")
|
||||
true
|
||||
},
|
||||
validator = repoPredicate { repo -> "origin/new_branch" in repo.fetchedBranches && repo.headBranch == "master" },
|
||||
validator = repoPredicate { repo ->
|
||||
"fetch" in repo.maintenanceActions &&
|
||||
"origin/new_branch" in repo.fetchedBranches &&
|
||||
repo.headBranch == "master"
|
||||
},
|
||||
testCases = listOf(
|
||||
levelTestCase("fetch origin", "git fetch origin"),
|
||||
levelTestCase("fetch default", "git fetch"),
|
||||
|
||||
Reference in New Issue
Block a user