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, "", "")