Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
AKIS Cloud Computing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Max Melchert
AKIS Cloud Computing
Commits
a5ddea80
Commit
a5ddea80
authored
3 months ago
by
Max Melchert
Browse files
Options
Downloads
Patches
Plain Diff
chore: add pre-commit hooks config
parent
d0d118d9
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.pre-commit-config.yaml
+5
-0
5 additions, 0 deletions
.pre-commit-config.yaml
git-conventional-commits.yaml
+43
-0
43 additions, 0 deletions
git-conventional-commits.yaml
with
48 additions
and
0 deletions
.pre-commit-config.yaml
0 → 100644
+
5
−
0
View file @
a5ddea80
repos
:
-
repo
:
https://github.com/qoomon/git-conventional-commits
rev
:
v2.7.2
hooks
:
-
id
:
conventional-commits
This diff is collapsed.
Click to expand it.
git-conventional-commits.yaml
0 → 100644
+
43
−
0
View file @
a5ddea80
---
convention
:
commitTypes
:
-
feat
# Commits, that add or remove a new feature to the API or UI
-
fix
# Commits, that fix a API or UI bug of a preceded feat commit
-
refactor
# Commits, that rewrite/restructure your code, however do not change any API or UI behaviour
-
perf
# Commits are special `refactor` commits, that improve performance
-
style
# Commits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)
-
test
# Commits, that add missing tests or correcting existing tests
-
build
# Commits, that affect build components like build tool, ci pipeline, dependencies, project version, ...
-
ops
# Commits, that affect operational components like infrastructure, deployment, backup, recovery, ...
-
docs
# Commits, that affect documentation only
-
chore
# Miscellaneous commits e.g. modifying `.gitignore`
-
merge
-
revert
commitScopes
:
[]
releaseTagGlobPattern
:
v[0-9]*.[0-9]*.[0-9]*
changelog
:
commitTypes
:
-
feat
-
fix
-
perf
-
merge
includeInvalidCommits
:
true
commitIgnoreRegexPattern
:
"
^WIP
"
headlines
:
feat
:
Features
fix
:
Bug Fixes
perf
:
Performance Improvements
merge
:
Merges
breakingChange
:
BREAKING CHANGES
## GitHub
# commitUrl: https://github.com/ACCOUNT/REPOSITORY/commit/%commit%
# commitRangeUrl: https://github.com/ACCOUNT/REPOSITORY/compare/%from%...%to%?diff=split
## GitHub Issues
# issueRegexPattern: "#[0-9]+"
# issueUrl: https://github.com/ACCOUNT/REPOSITORY/issues/%issue%
## Jira Issues
# issueRegexPattern: "[A-Z][A-Z0-9]+-[0-9]+"
# issueUrl: https://WORKSPACE.atlassian.net/browse/%issue%
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment