|
| 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