Skip to content

Commit

Permalink
test change
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-kt-inkeep committed Feb 15, 2024
1 parent 0df2736 commit 6a24789
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ def main():
graphql_endpoint, headers=headers, json=query_payload
)

print(query_response.json())

display_name = query_response.json()["data"]["source"]["displayName"]

if (
Expand All @@ -105,7 +103,7 @@ def main():
print(f"No PR found for commit {sha}")
return

new_comment = f"""![Inkeep Logo](https://storage.googleapis.com/public_inkeep_assetts/inkeep_logo_16h.png) [Inkeep](https://inkeep.com) AI search and chat service is syncing content for source '{display_name}'"""
new_comment = f"""![Inkeep Logo](https://storage.googleapis.com/public_inkeep_assetts/inkeep_logo_16h.png) [Inkeep](https://inkeep.com) AI search and chat service is syncing content for source '{query_response.text}'"""

# Check for duplicated comment
old_comments = [c.body for c in pr.get_issue_comments()]
Expand Down

0 comments on commit 6a24789

Please sign in to comment.