https://github.com/magicstack/gha-commit-and-push
Github action to commit and push changes in a checkout to a specified branch.
https://github.com/magicstack/gha-commit-and-push
Last synced: 2 months ago
JSON representation
Github action to commit and push changes in a checkout to a specified branch.
- Host: GitHub
- URL: https://github.com/magicstack/gha-commit-and-push
- Owner: MagicStack
- Created: 2020-11-28T23:27:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-29T01:08:52.000Z (over 4 years ago)
- Last Synced: 2024-12-31T07:33:03.424Z (4 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gha-commit-and-push
Github action to commit and push changes in a checkout to a specified branch.
## Usage
For the full list of inputs and outputs see [action.yml](action.yml).
Basic example:
```yaml
on: pull_request
steps:
- uses: magicstack/gha-commit-and-push@master
with:
target_branch: gh-pages
workdir: docs/gh-pages
commit_message: Automatic documentation update
```