Skip to content

Commit

Permalink
fixup! also resolve conversations when dismissing reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
renefritze committed Feb 15, 2024
1 parent e82edca commit 5d94d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def resolve_conversations(
pull_request_id,
):
pprint.pprint(f"Checking conversation {conversation}")
if warning_comment_prefix in conversation["body"]:
if conversation["body"].startswith(":warning:"):
print(f"Resolving conversation {conversation['id']}")
result = requests.patch(
f"{github_api_url}/repos/{repo}/pulls/comments/{conversation['id']}",
Expand Down

0 comments on commit 5d94d24

Please sign in to comment.