We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 929599a commit cc554f2Copy full SHA for cc554f2
1 file changed
script.py
@@ -21,19 +21,15 @@
21
# Create a GitHub instance using the access token
22
g = Github(ACCESS_TOKEN)
23
24
-# Replace with your repository name and owner
25
-
26
27
28
-state = "open"
29
30
# Get the repository object
31
repo = g.get_repo(f"{repository_owner}/{repository_name}")
32
-print(repo)
33
34
# Get all the issues in the repository with the "auto-release" label
+state = "open"
35
issues = repo.get_issues(labels=labels, state=state, sort='updated')
36
+print(repo)
+
37
# Loop through each issue and get its comments
38
for issue in issues:
39
print(f"Issue: {issue.title}")
0 commit comments