Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/offensive-vk/auto-commit-push

Automated Commit & Push Action.
https://github.com/offensive-vk/auto-commit-push

automated commit github push

Last synced: about 2 months ago
JSON representation

Automated Commit & Push Action.

Awesome Lists containing this project

README

        

# auto-commit-push

Automatically Commit and Push Changes to Your Repository

Simplify your workflow by automating the commit and push process. This action is designed to:

- Create commits: Generates commits with customizable messages.
- Push to remote: Pushes your commits to a specified remote branch.

For example:

```yaml
name: Auto Commit & Push

on:
workflow_dispatch:

permissions:
contents: write

jobs:
auto-commit-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Commit and Push
uses: offensive-vk/auto-commit-push@v6
with:
name: 'Your Name'
email: '[email protected]'
message: 'Commit Message'
branch: main
github-token: ${{ secrets.GITHUB_TOKEN }}
co-authors: co-author1, co-author2
```

## Usage

### Inputs

| Name | Description | Required | Default |
| --- | --- | --- | --- |
| name | Your name | true | github-actions[bot] |
| email | Your email | true | github-actions[bot]@users.noreply.github.com|
| message | Commit message | true | Automated Commit by Actions. |
| branch | Target branch | true | main |
| github-token | Github repository token | true | github.token |
| co-authors | Co-authors (comma-separated) | false | null |
| push_options | Push options (eg. --force) | false | '' |
| commit_options | Commit options (eg. -S -a, --no-verify) | false | '' |
| add_options | Add options (eg. -u) | false | '' |

### Outputs

None

***


© Vedansh 2020 - Present

Licensed under MIT

hamster

Thanks for visiting :)