Conversation
This commit intentionally introduces an invalid page number value to test the validation pipeline and demonstrate how the CI/CD process catches schema violations in BuildingCode.json.
❌ JSON Schema Validation FailedThe BuildingCode.json file does not conform to the schema. Please fix the following errors before merging: This PR cannot be merged until all validation errors are resolved. |
Contributor
Author
|
Excellent. The commit was blocked. Now I will change the JSON to pass validation, and the commit should be approved and merged into the develop branch. |
- Changed page number from invalid string to integer 12345 - JSON now passes schema validation - Resolves validation pipeline failure
✅ JSON Schema Validation PassedThe BuildingCode.json file successfully validates against the schema. This PR is ready for review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit intentionally introduces an invalid page number value to test the validation pipeline and demonstrate how the CI/CD process catches schema violations in BuildingCode.json.
Before committing this change, ran ran validation against the schema locally, and it failed because a page number is not an integer:
This should be detected by the GitHub pipeline and this PR blocked until it is fixed.