diff --git a/plugin/builtin/starlark/posthook.ado-pr@v1.star b/plugin/builtin/starlark/posthook.ado-pr@v1.star index b3747d1..3b34e6e 100644 --- a/plugin/builtin/starlark/posthook.ado-pr@v1.star +++ b/plugin/builtin/starlark/posthook.ado-pr@v1.star @@ -23,7 +23,7 @@ def main(repo, src_branch, dest_branch, title, body, changes, warnings): print("hook: pr failed: base=" + src_branch + " head=" + dest_branch + " repo=" + repo) return res.body() - print("github pr created: " + res.json()["url"]) + print("pull request created: " + res.json()["url"]) return None def get_org_proj_repo(url): diff --git a/plugin/builtin/starlark/posthook.gitea-pr@v1.star b/plugin/builtin/starlark/posthook.gitea-pr@v1.star index 057950a..3b3d104 100644 --- a/plugin/builtin/starlark/posthook.gitea-pr@v1.star +++ b/plugin/builtin/starlark/posthook.gitea-pr@v1.star @@ -20,5 +20,5 @@ def main(repo, src_branch, dest_branch, title, body, changes, warnings): print("hook: pr failed: " + url) return res.body() - print("gitea pr created: " + res.json()["url"]) + print("pull request created: " + res.json()["url"]) return None diff --git a/plugin/builtin/starlark/posthook.github-pr@v1.star b/plugin/builtin/starlark/posthook.github-pr@v1.star index a66db89..f70a8a3 100644 --- a/plugin/builtin/starlark/posthook.github-pr@v1.star +++ b/plugin/builtin/starlark/posthook.github-pr@v1.star @@ -20,5 +20,5 @@ def main(repo, src_branch, dest_branch, title, body, changes, warnings): print("hook: pr failed: " + url) return res.body() - print("github pr created: " + res.json()["url"]) + print("pull request created: " + res.json()["url"]) return None diff --git a/testdata/kobold.toml b/testdata/kobold.toml index 564ab59..f07ad0b 100644 --- a/testdata/kobold.toml +++ b/testdata/kobold.toml @@ -30,11 +30,11 @@ decoder = "builtin.dstribution@v1" [[pipeline]] name = "azure-devops-stage" channels = ["ado"] -repo_uri = "$ADO_HOST/kobold-test.git?ref=main&pkg=stage" +repo_uri = "$ADO_HOST/kobold-test?ref=main&pkg=stage" [[pipeline]] name = "azure-devops-prod" channels = ["ado"] -repo_uri = "$ADO_HOST/kobold-test.git?ref=main&pkg=prod" +repo_uri = "$ADO_HOST/kobold-test?ref=main&pkg=prod" dest_branch = "kobold" post_hook = "builtin.ado-pr@v1"