actions-marketplace-validations/Set JSON Field
This GitHub Action helps edit a JSON file and set a field value
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Apr 26, 2024
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/jossef_action-set-json-field@890d7642122dbb2833dddd2003659bb71a2b21fe # no releases — HEAD as of 2026-07-12tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| file | file name/path to edit. e.g 'package.json' | yes | — |
| field | field to edit. can be nested fields. e.g 'version' or 'metadata.scripts.build' | yes | — |
| value | value to set. string. e.g. 'v1.2.3' | yes | — |
| parse_json | optional. if set to any non-empty value will parse the data in 'value' field to JSON | no | "" |
Outputs
no outputs