leigholiver/Commit with deploy key
Commit to another repository using a deploy key
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
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 |