mirror of
https://git.juggalol.com/agatha/gitmon.git
synced 2024-11-22 23:46:42 +00:00
Generate GitHub URL
This commit is contained in:
parent
bb1ba3997f
commit
7f7dd37bd3
4
main.py
4
main.py
@ -13,9 +13,9 @@ def log_event(event):
|
|||||||
actor = event.get('actor')
|
actor = event.get('actor')
|
||||||
|
|
||||||
if event_type == 'DeleteEvent':
|
if event_type == 'DeleteEvent':
|
||||||
logger.error(f'{event_type}:\t{repo["name"]}, {actor["login"]}')
|
logger.error(f'{event_type}:\thttps://github.com/{repo["name"]}, {actor["login"]}')
|
||||||
else:
|
else:
|
||||||
logger.info(f'{event_type}:\t{repo["name"]}, {actor["login"]}')
|
logger.info(f'{event_type}:\thttps://github.com/{repo["name"]}, {actor["login"]}')
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
Loading…
Reference in New Issue
Block a user