From eaefd3a20d6b1dbdb6f926c932e0a6e682cf890d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Kadir=20Ak=C4=B1n?= Date: Fri, 16 May 2025 11:11:01 +0300 Subject: [PATCH] Update csv_linter.yml --- .github/workflows/csv_linter.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/csv_linter.yml b/.github/workflows/csv_linter.yml index 155fdf6..f7247cf 100644 --- a/.github/workflows/csv_linter.yml +++ b/.github/workflows/csv_linter.yml @@ -40,11 +40,11 @@ jobs: if headers != ["act", "prompt", "for_devs"]: print("Error: CSV headers must be exactly [act, prompt, for_devs]") exit(1) - for row_num, row in enumerate(reader, 2): - if len(row) != 2: + for row_num, row in enumerate(reader, 3): + if len(row) != 3: print(f"Error: Row {row_num} has {len(row)} columns, expected 2") exit(1) - if not row[0] or not row[1]: + if not row[0] or not row[1] or not row[2]: print(f"Error: Row {row_num} has empty values") exit(1) '; then