cihelper/Git Push
Action to add, commit, and push changes to a git repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| add-path | Path to add to the git repository | no | . |
| commit-message | Commit message | yes | — |
| push-remote | Remote to push to | no | origin |
| push-ref | Ref to push to | no | "" |
| add-args | Arguments to pass to `git add` | no | "" |
| commit-args | Arguments to pass to `git commit` | no | "" |
| push-args | Arguments to pass to `git push` | no | "" |
| user-name | Git user name | no | github-actions[bot] |
| user-email | Git user email | no | 41898282+github-actions[bot]@users.noreply.github.com |
| github-token | GitHub token | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| head-sha | The reference of the commit that was pushed or the current HEAD if no changes were pushed |
| committed | Whether changes were detected. The return value is in the form of a string. ("true" or "false") |