Skip to content

Commit eaefd3a

Browse files
authored
Update csv_linter.yml
1 parent 652fc08 commit eaefd3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/csv_linter.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040
if headers != ["act", "prompt", "for_devs"]:
4141
print("Error: CSV headers must be exactly [act, prompt, for_devs]")
4242
exit(1)
43-
for row_num, row in enumerate(reader, 2):
44-
if len(row) != 2:
43+
for row_num, row in enumerate(reader, 3):
44+
if len(row) != 3:
4545
print(f"Error: Row {row_num} has {len(row)} columns, expected 2")
4646
exit(1)
47-
if not row[0] or not row[1]:
47+
if not row[0] or not row[1] or not row[2]:
4848
print(f"Error: Row {row_num} has empty values")
4949
exit(1)
5050
'; then

0 commit comments

Comments
 (0)