justinmclean commented on code in PR #213:
URL: https://github.com/apache/airflow-steward/pull/213#discussion_r3295920590
##########
tools/skill-validator/src/skill_validator/__init__.py:
##########
@@ -945,10 +1041,11 @@ def run_validation(root: Path | None = None) ->
list[Violation]:
violations.extend(validate_principle_compliance(path, text))
violations.extend(validate_trigger_preservation(path, text,
repo_root=repo_root))
- # All skill files get link + placeholder validation
+ # All skill files get link + placeholder + security-pattern validation
violations.extend(validate_links(path, text, skill_dirs, doc_files))
violations.extend(validate_placeholders(path, text))
violations.extend(validate_body_inline(path, text))
Review Comment:
Fixed. Retired validate_body_inline() and kept Pattern 9 in
validate_security_patterns(), so each --body match now reports once under
security_pattern instead of duplicating as body-inline. Ported its unique tests
(equals-form, checklist skip) over.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]