ignore mirror sync events

This commit is contained in:
Lephenixnoir 2023-10-09 17:21:01 +02:00
parent 80c0585aff
commit 6ff873fb9f
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
2 changed files with 2 additions and 1 deletions

2
app.py
View File

@ -24,7 +24,7 @@ def main():
event = request.headers['X-Gitea-Event']
msg = None
if data["repository"]["private"]:
if data["repository"]["private"] or data["repository"]["mirror"]:
return "IGN"
url_repository = make_url_repository(data["repository"])

View File

@ -1,2 +1,3 @@
# A cookie for GLaDOS
cookie = {"planete_casio_session":"SomeSessionCookieFromGlados"}
credentials = None