diff --git a/make_and_send_alert.py b/make_and_send_alert.py index b9ef599a1b..52d7549730 100644 --- a/make_and_send_alert.py +++ b/make_and_send_alert.py @@ -125,6 +125,10 @@ async def main() -> None: for json_response, _ in paginated_responses: commit_files.extend(json_response['files']) + commit_files = [file for file in commit_files if 'translations.telegram.org/' not in file['filename']] + if not commit_files: + return + html_url = commit_data['html_url'] alert_text = f'New changes of Telegram\n\n'