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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Mar 26, 2026
- License
- MIT
Pinned Snippet
uses: prefapp/action-deployment-dispatch@c581660c0293a2bd7d0ae7bd9054870351754eee # v4.2.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| state_repo | Name of the state repo to dispatch to | yes | — |
| image_repository | Image repository to dispatch | yes | — |
| token | Personal 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_file | Name of the deployment file (default .github/deployment.yaml) | — | .github/deployment.yaml |
| github_token | The github token | — | ${{ github.token }} |
| pull_request | The pull request to use (optional) | — | "" |
| dispatch_event_name | The name of the event dispatch | — | dispatch-image |
| default_branch | The branch used as a reference for the deployment file | — | ${{ github.event.repository.master_branch }} |
| base_folder | Base folder where the tenants are located in the state repo | no | "" |
Outputs
no outputs