Ignore secrets and editor files in .gitignore (closes #40)
check / check (push) Failing after 2s
check / check (push) Failing after 2s
.gitignore had no secret patterns at all. It is now the org's standard file, which ignores .env, .env.*, *.pem and *.key and editor and OS files, plus this repo's /secret (anchored, so internal/secret/ is not matched), *.log, *.test and settings.local.json. The stale .cursorrules and coverage.out entries are gone. No tracked file matches the new patterns. .dockerignore also leaves out node_modules and ends with a newline. .git stays in the build context because the build stamps the version with git describe; .git/config stays excluded. Model: opus-5-5
This commit is contained in:
+29
-7
@@ -1,12 +1,34 @@
|
||||
# OS
|
||||
.DS_Store
|
||||
**/.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Editors
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
*.bak
|
||||
.idea/
|
||||
.vscode/
|
||||
*.sublime-*
|
||||
|
||||
# Agent scratch (worktrees of this repo, created and destroyed by
|
||||
# in-flight tooling). Unanchored: .gitignore patterns already match at
|
||||
# every depth, so no prefix is wanted here. This is not a .dockerignore
|
||||
# entry and must not be given a `**/` prefix on the way into one.
|
||||
.claude/
|
||||
|
||||
# Node
|
||||
node_modules/
|
||||
|
||||
# Environment / secrets
|
||||
.env
|
||||
.env.*
|
||||
*.pem
|
||||
*.key
|
||||
|
||||
# This repo. /secret is the built binary, anchored so that it does not
|
||||
# also match the internal/secret/ package directory.
|
||||
/secret
|
||||
*.log
|
||||
cli.test
|
||||
vault.test
|
||||
*.test
|
||||
settings.local.json
|
||||
|
||||
# Stale files
|
||||
.cursorrules
|
||||
coverage.out
|
||||
|
||||
Reference in New Issue
Block a user