Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/narze/goragit
One Repo One Commit ✨
https://github.com/narze/goragit
git github-actions hacktoberfest monocommit troll-tech
Last synced: about 2 hours ago
JSON representation
One Repo One Commit ✨
- Host: GitHub
- URL: https://github.com/narze/goragit
- Owner: narze
- License: mit
- Created: 2022-04-30T18:22:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-28T00:16:20.000Z (about 1 year ago)
- Last Synced: 2024-05-02T05:39:24.171Z (6 months ago)
- Topics: git, github-actions, hacktoberfest, monocommit, troll-tech
- Homepage:
- Size: 23.4 KB
- Stars: 42
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Goragit
The ultimate Git workflow, _not for people who cannot use Git properly._
[See in action](https://github.com/narze/goragit/commits/main) (Clicking star ⭐ to this repo will trigger the [demo](.github/workflows/demo.yml) workflow)
## Prerequisites
- [Generate](https://github.com/settings/tokens/new) GitHub Personal Access Token (PAT) with `repo` scope
- Create repo secret e.g. `GH_TOKEN_WITH_REPO_SCOPE` using generated PAT
- Big Ego## Usage
```yaml
name: Goragitize
on:
push:
branches: [main]
jobs:
job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# These options must be set
fetch-depth: 0
persist-credentials: false- uses: narze/goragit@main
with:
author_name: your-github-username
author_email: [email protected]
github_token_with_repo_scope: ${{ secrets.GH_TOKEN_WITH_REPO_SCOPE }}
i_understand_that_this_workflow_will_goragodize_my_repo: true
keep_git_history_in_message: false # Optional
```## Options
- `author_name` Git commit author name (Default: `github-actions`)
- `author_email` Git commit author email (Default: `[email protected]`)
- `github_token_with_repo_scope` [required] GitHub Personal Access Token (PAT) with Repo scope. See Prerequisites on how to setup.
- `i_understand_that_this_workflow_will_goragodize_my_repo` [required] You must accept this power.
- `keep_git_history_in_message` If true, your commit message will be prepended to the previous commit messages.