prefapp/Dispatch a new image message on a gitops repo

Using state repo structure it updates an image value and the creates a pull request in the same state repo

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 26, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: prefapp/action-deployment-dispatch@c581660c0293a2bd7d0ae7bd9054870351754eee # v4.2.0

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

namedescriptionrequireddefault
state_repoName of the state repo to dispatch toyes
image_repositoryImage repository to dispatchyes
tokenPersonal access token (PAT) used to fetch the repository. The PAT is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the PAT. We recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary. [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) yes
deployment_fileName of the deployment file (default .github/deployment.yaml).github/deployment.yaml
github_tokenThe github token${{ github.token }}
pull_requestThe pull request to use (optional)""
dispatch_event_nameThe name of the event dispatchdispatch-image
default_branchThe branch used as a reference for the deployment file${{ github.event.repository.master_branch }}
base_folderBase folder where the tenants are located in the state repono""

no outputs