-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.gitauto.yaml
More file actions
131 lines (98 loc) · 3.54 KB
/
.gitauto.yaml
File metadata and controls
131 lines (98 loc) · 3.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# GitAuto Configuration File
#
# This file controls the behavior of the GitAuto automated Git management system.
# Copy this to your repository root as .gitauto.yaml and customize as needed.
# ============================================================================
# AUTOMATION SETTINGS
# ============================================================================
automation:
# Enable/disable all automation
enabled: true
# Dry run mode - analyze and report without making changes
dry_run: false
# Automatically commit uncommitted changes
auto_commit: true
# Automatically push commits to remote
auto_push: true
# Automatically pull from remote before operations
auto_pull: true
# ============================================================================
# COMMIT SETTINGS
# ============================================================================
commits:
# Template for automated commit messages
# Available placeholders: {description}, {timestamp}, {files}
message_template: "chore: automated commit - {description}"
# Sign commits with GPG
sign_commits: false
# GPG key ID (leave empty to use default)
gpg_key: ""
# ============================================================================
# CONFLICT RESOLUTION
# ============================================================================
conflicts:
# Strategy for resolving merge conflicts
# Options: ours (keep local), theirs (keep remote), manual, skip
strategy: "ours"
# Enable automatic conflict resolution
auto_resolve: true
# ============================================================================
# SUBMODULE MANAGEMENT
# ============================================================================
submodules:
# Automatically update submodules
auto_update: true
# Update submodules recursively
recursive: true
# ============================================================================
# SAFETY SETTINGS
# ============================================================================
safety:
# Create backups (stash) before major operations
create_backups: true
# Number of days to retain backup stashes
backup_retention_days: 7
# Require clean working tree before operations (strict mode)
require_clean_tree: false
# ============================================================================
# REMOTE OPERATIONS
# ============================================================================
remote:
# Default remote name
default_remote: "origin"
# Default branch name
default_branch: "main"
# Number of retry attempts for push operations
push_retries: 3
# Delay between retry attempts (seconds)
retry_delay: 5
# ============================================================================
# LOGGING
# ============================================================================
logging:
# Log level: DEBUG, INFO, WARNING, ERROR
level: "INFO"
# Log file path (relative to repository root)
file: ".gitauto/logs/gitauto.log"
# Enable JSON structured logs
json_logs: true
# Enable console output
console_output: true
# ============================================================================
# EXCLUSIONS
# ============================================================================
exclusions:
# Specific paths to exclude from automation
paths:
# - "sensitive/directory"
# - "config/secrets.yml"
# File patterns to exclude (supports wildcards)
patterns:
- "*.log"
- "*.tmp"
- "*.swp"
- "__pycache__/"
- "node_modules/"
- ".env"
- ".env.*"
- "*.pyc"