Skip to content

Commit

Permalink
fix: Add pre-commit hook for conventional commits
Browse files Browse the repository at this point in the history
  • Loading branch information
gbbirkisson committed Dec 6, 2023
1 parent ffc8904 commit fdc95e8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.0.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args: []
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ If this project is just what you needed and/or has been helpful to you, please c
* [Release notes](#release-notes)
* [Development](#development)
* [Setup dependencies](#setup-dependencies)
* [Install pre-commit hooks](#install-pre-commit-hooks)
* [Get some test media](#get-some-test-media)
* [Running](#running)

Expand Down Expand Up @@ -109,6 +110,12 @@ This project uses [release-please](https://github.com/googleapis/release-please)
$ make setup
```

### Install pre-commit hooks

```console
$ pre-commit install --hook-type commit-msg
```

### Get some test media

I leave it up do you to put some images/videos in the `./dev/api/media` folder.
Expand Down

0 comments on commit fdc95e8

Please sign in to comment.