From 4244d81dfd27c25fb1f6e0e1e3d198cb05c146a0 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Wed, 25 Nov 2026 13:14:58 -0500 Subject: [PATCH] build: keep the pipeline's own files out of the source release export git archive, which makes the public source release, now leaves out the workflow, ci/version.sh, ci-requirements.md and the two tests that pin the workflow file (without it they would fail go test ./...). docs/security.md no longer points readers at the workflow file. Co-Authored-By: Claude Opus 5.5 --- .gitattributes | 8 ++++++++ docs/security.md | 3 +-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..8a31bd18 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,8 @@ +# Files only the build pipeline uses stay out of `git archive`, which makes +# the public source release. The two release tests pin the workflow file, so +# they leave with it; without it they would fail `go test ./...`. +.gitea/ export-ignore +ci/ export-ignore +ci-requirements.md export-ignore +internal/server/release_gate_test.go export-ignore +internal/server/release_version_test.go export-ignore diff --git a/docs/security.md b/docs/security.md index 9904eca6..afbc436f 100644 --- a/docs/security.md +++ b/docs/security.md @@ -114,8 +114,7 @@ Keystore, so a copy of the app's files doesn't yield a usable session. Nothing is published unless every check passes: the Go, integration, web and Android test suites, `govulncheck` against the toolchain that builds the -image, and `npm audit` on every web dependency, build tooling included. See -`.gitea/workflows/release.yml`. +image, and `npm audit` on every web dependency, build tooling included. ## Reporting a problem