Update csv_linter.yml

This commit is contained in:
Fatih Kadir Akın 2025-05-16 11:05:12 +03:00 committed by GitHub
parent 7cf6e89aa7
commit 652fc08eba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,8 +37,8 @@ jobs:
with open("prompts.csv", "r", encoding="utf-8") as f:
reader = csv.reader(f)
headers = next(reader)
if headers != ["act", "prompt"]:
print("Error: CSV headers must be exactly [act, prompt]")
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: