Skip to content

Commit cd95949

Browse files
authored
re-enable API call to allow testing of fetching issues
Uncommented start of main() [lines 21-25 impacted]
1 parent 440ffc8 commit cd95949

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pending_user_response.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
DAYS_BEFORE_CLOSE = 30
1818

1919
def main():
20-
# g = Github(os.environ['GH_TOKEN'])
21-
# repo = g.get_repo(REPO_NAME)
20+
g = Github(os.environ['GH_TOKEN'])
21+
repo = g.get_repo(REPO_NAME)
2222

2323
print("[VALIDATION] Would connect to Github and fetch repo:", REPO_NAME)
24-
# issues = repo.get_issues(state='open', labels=[LABEL])
24+
issues = repo.get_issues(state='open', labels=[LABEL])
2525
print(f"[VALIDATION] Would fetch open issues with label '{LABEL}'.")
2626

2727
now = datetime.datetime.utcnow()

0 commit comments

Comments
 (0)