Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): enforce use of convetional commits #5

Merged
merged 4 commits into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
3 changes: 3 additions & 0 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ actions:
- trunk-announce
- trunk-check-pre-push
enabled:
- commitlint
- yarn-check
- trunk-fmt-pre-commit
- trufflehog-pre-commit
- trunk-check-pre-commit
Expand All @@ -38,4 +40,5 @@ tools:
disabled:
- trivy
enabled:
- yarn@1.22.19
- actionlint@1.6.9
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## Features

- [ ] Code quality checks using [trunk.io](https://trunk.io/code-quality)
- [ ] Github Flow
- [ ] Code quality checks using [trunk.io](https://trunk.io/code-quality)
- [ ] main branch deploys to github pages
- [ ] PR branches deploys to previews in github pages
- [ ] Mandatory semantic commits
Expand All @@ -17,4 +17,5 @@
```shell-session
trunk install
trunk git-hooks sync
trunk shellhooks install
```
1 change: 1 addition & 0 deletions commitlint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default { extends: ["@commitlint/config-conventional"] };
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"devDependencies": {
"cz-conventional-changelog": "^3.3.0"
},
"version": "0.1.0"
}
Loading