Skip to content

Commit fd2c067

Browse files
Update tests/unit/workflows/test_workflows.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 6ccd76e commit fd2c067

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/workflows/test_workflows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def test_workflow_name_matches_file(self) -> None:
283283
if len(fw) >= 3 and len(nw) >= 3 # Only match words with 3+ chars
284284
)
285285

286-
has_relation = len(overlap) > 0 or has_substring_match or len(file_words) == 1
286+
has_relation = len(overlap) > 0 or has_substring_match
287287
assert has_relation, f"Workflow name '{name}' unrelated to file: {filepath.name}"
288288

289289

0 commit comments

Comments
 (0)