Skip to content

Commit

Permalink
add condition for no change
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharth2016 committed Oct 11, 2020
1 parent 9ea0425 commit e5cf1da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,6 @@ def generate_new_readme(readme: str, image_tag: str) -> str:
if readme_content_decoded != new_readme:
readme_repo.update_file(path=readme_obj.path, message=COMMIT_MSG,
content=new_readme, sha=readme_obj.sha)
print("success")
print("Success")
else:
print("No change")

0 comments on commit e5cf1da

Please sign in to comment.