Skip to content

Commit 14de237

Browse files
authored
chore: add CodeRabbit and gitleaks configs (#12)
## Summary - Add .coderabbit.yaml for automated code review - Add .gitleaks.toml for secret scanning Standardizing configs across all baker-scripts repos.
1 parent d47148c commit 14de237

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.coderabbit.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: en-US
2+
reviews:
3+
profile: assertive
4+
request_changes_workflow: true
5+
high_level_summary: true
6+
poem: false
7+
review_status: true
8+
collapse_walkthrough: false
9+
path_instructions:
10+
- path: "*.py"
11+
instructions: |
12+
Review for security issues — validate all user inputs.
13+
Check for proper error handling and logging.
14+
- path: ".github/workflows/**"
15+
instructions: |
16+
Check for command injection via untrusted GitHub context variables.
17+
Verify secrets are not exposed in logs.
18+
- path: "Dockerfile"
19+
instructions: |
20+
Check for security best practices — non-root user, minimal base image.
21+
chat:
22+
auto_reply: true

.gitleaks.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Gitleaks configuration
2+
# https://github.com/gitleaks/gitleaks
3+
4+
title = "RedditModLog gitleaks config"
5+
6+
[allowlist]
7+
description = "Global allowlist"
8+
paths = [
9+
'''\.env\.example''',
10+
'''__pycache__/''',
11+
'''\.pytest_cache/''',
12+
]

0 commit comments

Comments
 (0)