Skip to content

Commit ff874f4

Browse files
committed
Feat: added create event
1 parent a858c07 commit ff874f4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ def display_user_event(data):
3535
print(f"Followed the repo/organization {activity['repo']['url']}")
3636
if activity['type'] == 'PushEvent':
3737
print(f'Pushed to {activity['repo']['url']}')
38+
if activity['type'] == 'CreateEvent':
39+
print(f"Created {activity['repo']['name']}")
3840

3941
if __name__ == '__main__':
4042
print(f"Script version {version}")

0 commit comments

Comments
 (0)