From 0ecb077e4d1c185850239c105207eb5c3babdee3 Mon Sep 17 00:00:00 2001 From: Tagada <36127788+Tagadda@users.noreply.github.com> Date: Wed, 19 Jul 2023 19:46:42 +0200 Subject: [PATCH] Update updater.py --- .github/workflows/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/updater.py b/.github/workflows/updater.py index 21800e6..b976fb7 100755 --- a/.github/workflows/updater.py +++ b/.github/workflows/updater.py @@ -99,7 +99,7 @@ def main(): # Proceed only if a PR for this new version does not already exist branch = f"ci-auto-update-v{latest_version}" - command = ["git", "ls-remote", "--exit-code", "-h", repo, branch] + command = ["git", "ls-remote", "--exit-code", "-h", f"https://github.com/{os.environ['GITHUB_REPOSITORY']}.git", branch] if run(command, stderr=PIPE, stdout=PIPE, check=False).returncode == 0: logging.warning("A branch already exists for this update") write_github_env(False, "", "")