Skip to content

Test: schema-mismatch config warning (branches as string, not array)#43

Open
alan-hacktron wants to merge 3 commits into
mainfrom
test/config-schema-mismatch-feature
Open

Test: schema-mismatch config warning (branches as string, not array)#43
alan-hacktron wants to merge 3 commits into
mainfrom
test/config-schema-mismatch-feature

Conversation

@alan-hacktron

Copy link
Copy Markdown
Owner

main has valid YAML but skip.branches is a string instead of an array. Expect the same warning comment mechanism, distinguishing this as a schema validation failure rather than invalid YAML.

@hacktron-alan

hacktron-alan Bot commented Jul 3, 2026

Copy link
Copy Markdown

Hacktron config could not be read

schema validation failed: [
{
"expected": "array",
"code": "invalid_type",
"path": [
"skip",
"branches"
],
"message": "Invalid input: expected array, received string"
}
]

Hacktron is scanning this PR using your organization's default settings instead.

@hacktron-alan

hacktron-alan Bot commented Jul 3, 2026

Copy link
Copy Markdown

Hacktron config could not be read

schema validation failed: skip.branches: Invalid input: expected array, received string

Hacktron is scanning this PR using your organization's default settings instead.

Comment thread test-schema-mismatch.txt Outdated
@hacktron-alan

hacktron-alan Bot commented Jul 5, 2026

Copy link
Copy Markdown

Hacktron config could not be read

invalid YAML: Flow sequence in block collection must be sufficiently indented and end with a ] at line 3, column 1:

Hacktron is scanning this PR using your organization's default settings instead.

@hacktron-alan

hacktron-alan Bot commented Jul 5, 2026

Copy link
Copy Markdown

Hacktron Security Check - Skipped

Reason: Hacktron skipped this scan because this PR's labels are not included by your organization's settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant