onlyutkarsh/Patch files

A simple action to patch JSON and YAML files using JSON Patch operations

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
filesFiles to scan. Supports glob patterns (e.g., testfiles/**/*.json, config/*.yaml, **/*.yml)yes
patch-syntaxQuick patch syntax to patch files. Uses JSON Patch operations. Works with both JSON and YAML files. See documentation for syntax details and examples.yes
output-patched-fileOutput patched file contents to the logs for verificationnotrue
fail-if-no-files-patchedFail the action if no files are patched by the specified patternnofalse
fail-if-errorFail the action on errors. Set to false to only show warnings instead of failing the workflow.nofalse

no outputs