autoupdate app sources: skip app for which new branch already exists
This commit is contained in:
@ -210,7 +210,8 @@ class AppAutoUpdater:
|
|||||||
commit_sha = self.repo.get_branch(self.base_branch).commit.sha
|
commit_sha = self.repo.get_branch(self.base_branch).commit.sha
|
||||||
self.repo.create_git_ref(ref=f"refs/heads/{new_branch}", sha=commit_sha)
|
self.repo.create_git_ref(ref=f"refs/heads/{new_branch}", sha=commit_sha)
|
||||||
except:
|
except:
|
||||||
pass
|
print("... Branch already exists, skipping")
|
||||||
|
return False
|
||||||
|
|
||||||
manifest_new = self.manifest_raw
|
manifest_new = self.manifest_raw
|
||||||
for source, infos in todos.items():
|
for source, infos in todos.items():
|
||||||
|
Reference in New Issue
Block a user