check / check (push) Successful in 1m48s
Add the canonical .editorconfig verbatim from sneak/prompts. Merge secret (.env, .env.*, *.key, *.pem), OS (.DS_Store, Thumbs.db), editor (*.swp, *.swo, *~, .idea/, .vscode/), and Go (*.log, *.out, *.test) patterns into .gitignore while preserving the repo-specific entries. Remove the stale .drone.yml ignore entry and the DRONE_COMMIT_SHA branch from bin/gitrev.sh, left over from the Gitea Actions migration. bin/gitrev.sh remains correct: the GITREV env path (used in the Docker build) and the git describe fallback (Gitea Actions and local developers) both still produce output. bin/gitrev.sh stays tracked despite /bin/, and git status --ignored confirms no tracked file became ignored. The canonical .editorconfig sets space/4 for [*]; Go files are tab-indented via gofmt, which editorconfig does not govern. Taken verbatim per the issue. Model: opus-4-8
34 lines
273 B
Plaintext
34 lines
273 B
Plaintext
/bin/
|
|
/tmp
|
|
/node_modules/
|
|
*.tmp
|
|
*.dockerimage
|
|
/vendor
|
|
vendor.tzst
|
|
modcache.tzst
|
|
|
|
# Generated manifest files
|
|
.index.mf
|
|
|
|
# Secrets
|
|
.env
|
|
.env.*
|
|
*.key
|
|
*.pem
|
|
|
|
# OS files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Editor files
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.idea/
|
|
.vscode/
|
|
|
|
# Go build artifacts
|
|
*.log
|
|
*.out
|
|
*.test
|