Releases: fjogeleit/yaml-update-action
Releases · fjogeleit/yaml-update-action
JSON Support
What's Changed
- Add method input to configure the behavior for none existing properties by @fjogeleit in #519
- Add support for JSON files by @fjogeleit in #521
- Support appending new items to Arrays
- deprecate
updateFileproperty. Changes will be written into the file by default.
Full Changelog: v0.11.1...v0.12.0
Fix No Tree Info
- Fixed check if an actual changed happened and skip git steps if no value changed
Multi File and Values support
Support for multiple changes in a single or multiple files with the new changes input.
New value types support
- This action now supports also bool, int, float and more value type support. See the test workflows as examples.
- All supported types are listed in the upstream JS-YAML library
Advanced Commit and Pull Request Optiosn
- Added
commitUserNameandcommitUserEmailto configure Author information for the created Git commit - Added
reviewers,teamReviewersandassigneesoptions to configure reviewers and assignees for the optional created Pull Request
GitHub Enterprise Support
New Input githubAPI to customize the GitHub BaseURL to support GitHub Enterprise as well.
Dependency Update
Merge pull request #465 from fjogeleit/dependency-update Dependency Updates
Implement JSONPath
- Use JSONPath (Check on NPM) to replace the YAML value
- Support for JSONPath Queries as valuePath
- Support for adding new Properties to the YAML
The $. prefix for JSONPaths is optional to be backward compatible with the previous custom implementation. Both propertyPaths have the same result:
$.backend.versionbackend.version
If your query selects multiple values, only the first match will be updated.
Update Dependencies
- Update Dependencies
- Update Run NodeJS Version to v16 LTS
Skip commit when nothing changed
- Don't commit and create a PR when nothing changed