Skip to content

Commit b853704

Browse files
committed
test: fix git url in tests
Signed-off-by: Matej Vašek <[email protected]>
1 parent 0a0c46b commit b853704

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/oncluster/scenario_github_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ Notes:
3636
func resolveGitVars() (gitRepoUrl string, gitRef string) {
3737
// On a GitHub Action (Pull Request) these variables will be set
3838
// https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
39-
gitRepo := common.GetOsEnvOrDefault("GITHUB_REPOSITORY", "knative/func")
39+
gitRepo := common.GetOsEnvOrDefault("GITHUB_REPOSITORY", "openshift-knative/kn-plugin-func")
4040
gitRepoUrl = "https://github.com/" + gitRepo + ".git"
4141

42-
gitRef = common.GetOsEnvOrDefault("GITHUB_REF", "main")
42+
gitRef = common.GetOsEnvOrDefault("GITHUB_REF", "release-v1.17")
4343
// GitHub uses 2 refs per merge request (refs/pull/ID/head and refs/pull/ID/merge), ensure using */head
4444
exp := regexp.MustCompile("^refs/pull/(.*?)/merge$")
4545
gitRef = exp.ReplaceAllString(gitRef, "refs/pull/${1}/head")

0 commit comments

Comments
 (0)