commit-ticket
Advanced tools
+1
-1
@@ -8,3 +8,3 @@ { | ||
| ], | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "description": "Git hook intended for automatically placing ticket id from branch name to commit message", | ||
@@ -11,0 +11,0 @@ "author": "Genrikh Fetischev <genrikhfetischev@gmail.com>", |
+4
-2
@@ -43,6 +43,8 @@ ## Motivation | ||
| ``` | ||
| 3. Adjust hook, for instance with [Husky](https://github.com/typicode/husky): | ||
| 3. Adjust hook, for instance with [Husky](https://github.com/typicode/husky). | ||
| It is required to use that hook at `commit-msg` stage because only there we have a path | ||
| to entered commit message: | ||
| ```yaml | ||
| hooks: | ||
| prepare-commit-msg: commit-ticket $HUSKY_GIT_PARAMS | ||
| commit-msg: commit-ticket $HUSKY_GIT_PARAMS | ||
| ``` | ||
@@ -49,0 +51,0 @@ |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
10967
1.08%53
3.92%