Skip to content

Commit 80523de

Browse files
committed
fix logging error and rename gh action step
1 parent 155ab79 commit 80523de

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/generate_codeowners.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,11 @@ def determine_point_of_contact(gh_session, extension_name, extension_file_conten
168168
committer = None
169169
point_of_contact = committer
170170
logging.info("Found more than one contributor, so determining point of contact by whoever accepted the latest pull request \n")
171-
logging.info("Point of contact: " + point_of_contact)
171+
if point_of_contact is not None:
172+
logging.info("Point of contact: " + point_of_contact)
173+
else:
174+
logging.info("Point of contact is not available.")
175+
172176
return point_of_contact
173177

174178
def process_extensions():

.github/workflows/notify_code_owners.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install dependencies
2222
run: pip install requests==2.31.0 pandas==2.1.1 logging==0.4.9.6 PyGithub==2.1.1
2323

24-
- name: Run Python script to calculate errors
24+
- name: Run Python script to calculate errors and notify
2525
run: |
2626
python .github/generate_codeowners.py
2727
python .github/notify_extension_managers.py

0 commit comments

Comments
 (0)