Skip to content

songhanpoo/pre-commit-shell-gitops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pre-commit-gitops

Branch masterBuildGitHub licenserelease pre-commit

pre-commit-gitops is a pre-commit component, which wrapper shellcheck to check shell scripts:)

Table of Contents

Requirements

pre-commit-shell requires the following to run:

Install

  1. create .pre-commit-config.yaml in you git project
  2. pre-commit install
  3. enjoy it

example .pre-commit-config.yaml as following:

repos:
  - repo: https://github.com/songhanpoo/pre-commit-shell-gitops.git
    rev: v1.0.3
    hooks:
    - id: msg-check
      verbose: false
      args:
        - -p=".*"
    - id: branching-check
      verbose: false
      args:
        - -p=".*"

Contributing

To contribute to pre-commit-gitops, clone this repo locally and commit your code on a separate branch.

Author

GitHub @songhanpoo

License

pre-commit-gitops is licensed under the [MIT] license.

About

🍻 pre commit wrapper check branch name, commit msg

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages