Skip to content

Commit 8a2a6e7

Browse files
authored
Create bomb-issues.py
1 parent 6779d27 commit 8a2a6e7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Github_Bomb_Issues/bomb-issues.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
from github import Github
2+
import os
3+
import getpass
4+
5+
username = input("Enter your username: ")
6+
password = getpass.getpass("Enter your Github password: ")
7+
g = Github(username, password)
8+
9+
repository = input("Give the GitHub repository name that you want to bomb issues on (Example: Ayush7614/Hello-World-): ")
10+
number = int(input("Give the number of issues that you want to bomb: "))
11+
repo = g.get_repo(repository)
12+
13+
for x in range(number):
14+
repo.create_issue(title="Lorem ipsum", body="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.")

0 commit comments

Comments
 (0)