Skip to content

Commit edaa380

Browse files
refactor(goal): configuration management
changes: - file: file_validator.py area: core modified: [validate_files] stats: lines: "+3/-3 (net +0)" files: 2 complexity: "Stable complexity"
1 parent bb6a4da commit edaa380

7 files changed

Lines changed: 9 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## [Unreleased]
22

3+
## [2.1.124] - 2026-03-29
4+
35
## [2.1.123] - 2026-03-29
46

57
## [2.1.122] - 2026-03-28

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Goal
55

66
<p align="center">
7-
<img src="https://img.shields.io/badge/version-2.1.123-blue.svg" alt="Version">
7+
<img src="https://img.shields.io/badge/version-2.1.124-blue.svg" alt="Version">
88
<img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="Python">
99
<img src="https://img.shields.io/badge/license-Apache%202.0-blue.svg" alt="License">
1010
<img src="https://img.shields.io/badge/pypi-goal-orange.svg" alt="PyPI">

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.123
1+
2.1.124

goal.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# goal.yaml - Goal configuration file
2-
# Generated: 2026-03-29 11:27:48
2+
# Generated: 2026-03-29 11:29:18
33
# Documentation: https://github.com/wronai/goal#configuration
44
#
55
# This file configures Goal's behavior for:

goal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Goal - Automated git push with smart commit messages, changelog updates, and version tagging."""
22

3-
__version__ = "2.1.123"
3+
__version__ = "2.1.124"

goal/validators/file_validator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@ def validate_files(
336336
r'sk_live_[a-zA-Z0-9]{24}',
337337
r'sk_test_[a-zA-Z0-9]{24}',
338338
r'CS:^[A-Z][A-Z0-9_]{5,}=[a-zA-Z0-9_-]{20,}',
339-
r'Bearer\s+[a-zA-Z0-9_-]{20,}',
340-
r'Token\s+[a-zA-Z0-9_-]{32,}',
339+
r'Bearer\s+(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])[a-zA-Z0-9_-]{32,}\b',
340+
r'Token\s+(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])[a-zA-Z0-9_-]{32,}\b',
341341
r'-----BEGIN\s+(RSA\s+)?PRIVATE\s+KEY-----',
342342
r'-----BEGIN\s+EC\s+PRIVATE\s+KEY-----',
343343
r'-----BEGIN\s+OPENSSH\s+PRIVATE\s+KEY-----',

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "goal"
7-
version = "2.1.123"
7+
version = "2.1.124"
88
description = "Goal - Automated git push with enterprise-grade commit intelligence, smart conventional commit generation based on deep code analysis, and interactive release workflow management."
99
readme = "README.md"
1010
license = "Apache-2.0"

0 commit comments

Comments
 (0)