masterpointio/gitops-update

Reusable GitHub Action to update a YAML file and commit the result

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 3, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: masterpointio/github-action-gitops-update@805dda2cd0307bc19436cb8be6fc647159eadb58 # v0.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
new_valueNew value that should replace the existing value at the given YAML pathyes
yaml_key_pathsComma-separated list of paths to the YAML keys that should be updated within the given YAML fileyes
yaml_file_pathPath to the YAML file that should be updatedyes
commit_messageCommit message that should be used when committing the changesyes
commit_usernameThe username of the user that will execute the commit.nogithub-actions
commit_emailThe email of the user that will execute the commit.nogithub-actions@github.com
target_branchThe branch that should be pushed tono${{ github.event.repository.default_branch }}
github_tokenThe GitHub token used to commit and push the gitops changes (unnecessary if you don't have branch protections enabled on your target branch)no${{ github.token }}

no outputs