fix: pattern matching instead of file existence
The previous method of detecting automated commits was error-prone, specifically when using VSCode to commit changes. This new method uses a simple Regex pattern match to see if the commit message matches any known auto-generated commits. ref: N25B-241
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This script checks if the current branch name follows the specified format.
|
||||
# It's designed to be used as a 'pre-commit' git hook.
|
||||
|
||||
Reference in New Issue
Block a user