Generate GitHub URL

This commit is contained in:
agatha 2023-11-10 23:39:06 -05:00
parent bb1ba3997f
commit 7f7dd37bd3

View File

@ -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():