detox issue reporting

pull/191/merge
kabachuha 2023-08-14 11:02:14 +03:00 committed by GitHub
parent 5fc9f33821
commit 20ead1033e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -13,11 +13,16 @@ repo = g.get_repo(os.environ['GITHUB_REPOSITORY'])
# Get the issue number from the event payload
#issue_number = int(os.environ['ISSUE_NUMBER'])
detox = True
for issue in repo.get_issues():
print(f"Processing issue №{issue.number}")
if issue.pull_request:
continue
if detox:
continue
# Get the issue object
#issue = repo.get_issue(issue_number)