chore: gitignore .env / credentials files
Some checks failed
ARM64 Build / Build generic ARM64 disk image (push) Has been cancelled
CI / Go Tests (push) Failing after 11s
CI / Build Go Binaries (amd64, linux, linux-amd64) (push) Has been skipped
CI / Build Go Binaries (arm64, linux, linux-arm64) (push) Has been skipped
CI / Shellcheck (push) Successful in 1m9s
Some checks failed
ARM64 Build / Build generic ARM64 disk image (push) Has been cancelled
CI / Go Tests (push) Failing after 11s
CI / Build Go Binaries (amd64, linux, linux-amd64) (push) Has been skipped
CI / Build Go Binaries (arm64, linux, linux-arm64) (push) Has been skipped
CI / Shellcheck (push) Successful in 1m9s
A .env file at the repo root was used to plumb a Gitea PAT to the release workflow's API calls. It wasn't gitignored — risk of an accidental `git add -A` shipping the secret to the public-ish remote. Add .env / .env.* / *.token / *.pat to .gitignore so secrets stay local. No content changes to .env itself; that file remains untracked. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -16,6 +16,12 @@ build/rootfs-work/
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# Secrets — never commit
|
||||
.env
|
||||
.env.*
|
||||
*.token
|
||||
*.pat
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
._*
|
||||
|
||||
Reference in New Issue
Block a user