mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Fix auto-updater
This commit is contained in:
parent
61f089118e
commit
e98eb4565c
1 changed files with 1 additions and 1 deletions
2
.github/workflows/updater.py
vendored
2
.github/workflows/updater.py
vendored
|
@ -105,7 +105,7 @@ def main():
|
||||||
return
|
return
|
||||||
|
|
||||||
# Proceed only if a PR for this new version does not already exist
|
# Proceed only if a PR for this new version does not already exist
|
||||||
branch = f"ci-auto-update-v${latest_version}"
|
branch = f"ci-auto-update-v{latest_version}"
|
||||||
command = ["git", "ls-remote", "--exit-code", "-h", repo, branch]
|
command = ["git", "ls-remote", "--exit-code", "-h", repo, branch]
|
||||||
if run(command, stderr=PIPE, stdout=PIPE, check=False).returncode == 0:
|
if run(command, stderr=PIPE, stdout=PIPE, check=False).returncode == 0:
|
||||||
logging.warning("A branch already exists for this update")
|
logging.warning("A branch already exists for this update")
|
||||||
|
|
Loading…
Add table
Reference in a new issue