Skip to content

Commit

Permalink
fix(workflow/pr_check): can't match initialize failures
Browse files Browse the repository at this point in the history
  • Loading branch information
alex3236 committed Jan 31, 2025
1 parent a52d750 commit 687b0df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/scripts/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import datetime as dt
import json
import os
import re
from enum import Enum
from typing import Iterable, Optional

Expand Down Expand Up @@ -184,7 +185,7 @@ def report_init_failed(failures: dict[str, list[str]]):
{message}
'''
for plugin_id, messages in failures.items():
if any('Failed to initialize' in msg for msg in messages):
if any(re.match("Initialize plugin .+ failed", msg) for msg in messages):
report += header.format(
plugin_id=plugin_id,
message='\n'.join(f'> - {i}' for i in messages)
Expand Down

0 comments on commit 687b0df

Please sign in to comment.