tmknom/Git Push
This action commits changes made during the workflow run and pushes them to a remote repository. It supports specifying a branch name, a start point, multi-line commit messages, and allows creating empty commits. ## Usage ### Default ```yaml steps: - name: Git Push uses: tmknom/git-push-action@v0 with: message: add useful feature ``` ### Custom ```yaml steps: - name: Git Push uses: tmknom/git-push-action@v0 with: message: add useful feature paths: README.md **/*.yml branch: new-feature-branch start-point: origin/main allow-empty: true ```
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| message | The commit message. | yes | — |
| branch | Specify the name for the new branch. | no | — |
| paths | Space-separated list of file paths to add before committing. Supports glob patterns such as `*.md` or `docs/*.txt`. If not specified, all changes are added (equivalent to `.`). | no | — |
| start-point | The starting point for the new branch, allowing creation from a different commit than `HEAD`. | no | HEAD |
| allow-empty | Set to true to allow creating empty commits. | no | false |
Outputs
| name | description |
|---|---|
| pushed | Whether the changes pushed to the repository. |
| branch | Name of the pushed branch. |
| subject | The first line of the commit message. |
| body | The body of the commit message (everything after the first line). |