Skip to content

Commit 14b9edb

Browse files
authored
fix: forbid coding agents to read any .env files in the repo #148 (#149)
1 parent 1040748 commit 14b9edb

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.claude/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"Bash(make test_unit:*)"
88
],
99
"deny": [
10-
"Read(./.env)"
10+
"Read(**/*.env)"
1111
],
1212
"ask": []
1313
},

.cursorignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**/*.env

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ statgpt_app:
4949
poetry run python -m statgpt.app.app $(ARGS)
5050

5151
install_pre_commit_hooks:
52-
pre-commit install
52+
poetry run pre-commit install
5353

5454
db_migrate:
5555
poetry run alembic -c alembic.ini upgrade head

0 commit comments

Comments
 (0)