You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Validate pre-fetched verify-pr input against its JSON schema #287
The pre-fetched input check currently validates only that the mounted input file contains syntactically valid JSON. It does not validate the parsed object against verify-pr-input.schema.json. As a result, JSON that is valid but missing or containing malformed task or github fields is accepted, after which later field accesses may fail or operate on incomplete data instead of following the documented invalid-input path.
Update the pre-fetched input handling to validate the file against verify-pr-input.schema.json before treating it as available. Add or update tests covering syntactically valid JSON that violates the schema, and verify that such input is rejected through the documented invalid-input behavior.
Activity