ignore mirror sync events
This commit is contained in:
parent
80c0585aff
commit
6ff873fb9f
2
app.py
2
app.py
|
@ -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"])
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
# A cookie for GLaDOS
|
||||
cookie = {"planete_casio_session":"SomeSessionCookieFromGlados"}
|
||||
credentials = None
|
||||
|
|
Loading…
Reference in New Issue