-
-
Notifications
You must be signed in to change notification settings - Fork 782
Allow output_schema to validate non-object action output (int, bool, etc)
#5319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
1bbf0be
protect more datatypes in output_value inspection
cognifloyd 44874e4
add tests for output_schema validation
cognifloyd 61f10a6
adjust test comments
cognifloyd a129c8d
Fix var usage
cognifloyd d12042b
Merge branch 'master' into patch-7
cognifloyd 6524d74
Add recursive _get_masked_value function
cognifloyd 3becc3e
return quickly if output_value[output_key] is wrong type
cognifloyd 49508d2
Add coments explaining output_schema validating objects
cognifloyd dd05bc0
check for unhandled_keys before compiling regex
cognifloyd 2bb40d7
Allow action output_schema to be a full jsonschema
cognifloyd 8f830b6
Regenerate action schema for new action_output format
cognifloyd 2bfc098
Merge branch 'master' into patch-7
cognifloyd 6b02ed4
Merge branch 'master' into patch-7
cognifloyd 6e7ec73
try simplifying output_schema
cognifloyd 95062c0
turn runner output_schema into full jsonschema
cognifloyd 2461a4d
turn test runner/action output_schema into full jsonschema
cognifloyd 94e78b4
schema validation: inject defaults only if dependencies are met.
cognifloyd cc32381
schema validation: runner schema is always a full schema now
cognifloyd 36cb3b1
adjust more output_schema tests
cognifloyd 066ff8b
Complete output_schemas including additionalProperties
cognifloyd dd9e032
Clean up action_output_schema usage
cognifloyd 10c828c
secret_masking typing fixes
cognifloyd cab0548
drop legacy partial object output_schema support
cognifloyd b904b12
Clarify why mask_output returns early
cognifloyd d15db88
Fix test output_schema in python_runner tests
cognifloyd 3cf35af
Add more malformed output_schema tests
cognifloyd dc6af0e
More reliable output_schema._schema_is_valid
cognifloyd 9dd7245
Refactor for clarity
cognifloyd 5fc52f2
add changelog entry
cognifloyd 0f52eda
revert action_output_schema additional_properties change
cognifloyd 4144013
add test for top-level output secret masking
cognifloyd 398d273
Reduce duplication in output_schema tests
cognifloyd accd679
Fix typo in ouptut_schema tests
cognifloyd dfad436
Fix issues with output_schema array handling
cognifloyd 8e925d0
Add debug log for schema validation errors
cognifloyd 91ddd42
test output_schema with additionalProperties schema
cognifloyd 5618d34
fix output_schema with patternProperties schema
cognifloyd 3e1a052
reformat with black
cognifloyd d5222eb
Merge branch 'master' into patch-7
cognifloyd c640f07
Merge branch 'master' into patch-7
cognifloyd 6654603
Merge branch 'master' into patch-7
cognifloyd 3bb046e
Merge branch 'master' into patch-7
cognifloyd 975c242
highlight that the output_schema change is a breaking change
cognifloyd 40c0a4e
Merge branch 'master' into patch-7
cognifloyd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.