ci: fix typo in pre-receive hook script filename
This commit is contained in:
parent
1d1ddc3ea0
commit
167e619b7b
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ while read -r OLD_REV NEW_REV REF_NAME; do
|
|||
# Handle new branch pushes differently
|
||||
if [[ "$OLD_REV" = "0000000000000000000000000000000000000000" ]]; then
|
||||
echo -e "${YELLOW}New branch detected: $REF_NAME${NC}"
|
||||
|
||||
|
||||
# For new branches, only validate the last 10 commits by default
|
||||
COMMIT_COUNT=$(git rev-list --count "$NEW_REV")
|
||||
if [ "$COMMIT_COUNT" -gt 10 ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue