Skip to content

Commit a5fcbd6

Browse files
committed
ci: avoid false positives in template verifier
1 parent 6610217 commit a5fcbd6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/verify_repo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
'docs/local-runner/README.md',
4141
'docs/showcase/README.md',
4242
'templates/README.md',
43-
'templates/project-context.md',
43+
'templates/complete-project-context.md',
4444
'templates/repository-context-template.md',
4545
'templates/agent-instructions-template.md',
4646
'prompts/README.md',
@@ -72,7 +72,7 @@
7272
'wiki/Home.md',
7373
]
7474

75-
FORBIDDEN_TEXT = ['TBD', 'TODO', 'FIXME', 'placeholder']
75+
FORBIDDEN_TEXT = ['TODO', 'FIXME']
7676
LINK_RE = re.compile(r'\[[^\]]+\]\(([^)]+)\)')
7777
SKIP_PREFIXES = ('http://', 'https://', 'mailto:', '#')
7878

@@ -108,7 +108,7 @@ def fail(title, items):
108108
for token in FORBIDDEN_TEXT:
109109
if token.lower() in text.lower():
110110
forbidden_hits.append(f'{md.relative_to(ROOT)} contains {token}')
111-
fail('Forbidden placeholder text found:', forbidden_hits)
111+
fail('Forbidden work marker text found:', forbidden_hits)
112112

113113
broken_links = []
114114
for md in markdown:

0 commit comments

Comments
 (0)