1
0
Fork 0

feat(readme_generator/webhooks): add the new ALL_README.md file to app's git repo

This commit is contained in:
Laurent Peuch 2024-03-22 08:52:54 +01:00 committed by Bram
parent 8f255b9e06
commit ae10c80d69

View file

@ -75,6 +75,7 @@ async def on_push(request: Request) -> HTTPResponse:
generate_READMEs(folder) generate_READMEs(folder)
repo.git.add("README*.md") repo.git.add("README*.md")
repo.git.add("ALL_README.md")
diff_empty = len(repo.index.diff("HEAD")) == 0 diff_empty = len(repo.index.diff("HEAD")) == 0
if diff_empty: if diff_empty: