actions-marketplace-validations/Commit with deploy key
Commit to another repository using a deploy key
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Mar 12, 2024
- License
- None
Pinned Snippet
uses: actions-marketplace-validations/leigholiver_commit-with-deploy-key@64d2c8705aa10aa475e971b877a7fe6ada69a1a2 # no releases — HEAD as of 2026-07-12tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| source | The file/directory to commit | yes | — |
| deploy_key | Private SSH key. Public key must be added to the destination repostitory as a deploy key with push access | yes | — |
| destination_repo | Git repository to push changes to | yes | — |
| destination_folder | Directory in destination repo to push changes to | no | . |
| destination_branch | Branch in destination repo to push changes to (default `main`) | no | main |
| delete_destination | Delete destination directory contents before copy? (default `false`) | no | false |
| git_username | Git username | no | ${{ github.actor }} |
| git_email | Git email address | no | ${{ github.actor }} |
| commit_message | Commit message | no | ${{ github.job }} from https://github.com/${{ github.repository }}/commit/${{ github.sha }} |
Outputs
| name | description |
|---|---|
| commit_hash | The SHA hash of the generated commit |