fix readme parser on none main repo

This commit is contained in:
Simon 2023-10-18 10:17:16 +07:00
parent 5d7f78ed75
commit cccb3cd246
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -81,7 +81,8 @@ class GithubHook(WebhookBase):
TaskHandler(self.repo_conf).create_task("rebuild")
return
self._check_readme()
if self.repo != "tubearchivist":
return
build_message = self.check_commit_message()
if not build_message: