Skip to content

Commit

Permalink
Update fork2repos.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yelizariev authored Dec 11, 2023
1 parent 0ad4989 commit fcc0509
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions workflow-files/fork2repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ def sync_repo(repo, br, bot_token):
cmd(git["-C", repo_path, "add", "--all"])
try:
cmd(git["-C", repo_path, "commit", "-m", COMMIT_MESSAGE])
except Exception:
# nothing to commit
except Exception as e:
# nothing to commit (?)
print(e)
return
cmd(git["-C", repo_path, "push"])

Expand Down

0 comments on commit fcc0509

Please sign in to comment.