All checks were successful
check / check (push) Successful in 3m29s
static/js/alpine.min.js was a committed minified bundle: unreviewable, referenced by no hash, and forbidden by REPO_POLICIES.md on both counts. It is now fetched by script/fetch-assets from a pinned npm registry tarball, with the tarball sha256 and the extracted file's sha256 both hardcoded and checked before anything is installed. The hash of every installed asset lives in static/vendor.sha256, and static/vendor_test.go re-hashes the bytes go:embed actually put in the binary against that manifest, so the pin is enforced on what ships rather than merely recorded. .gitignore keeps the artifact out of the repo and .dockerignore keeps a host copy out of the build context, so the image can only get it by fetching and verifying it. Alpine 3.14.9 is byte-identical to the blob that was committed (3ed1eed252488921df65e363d6715deb04d7f92aaedb9e52199fdf73cb1e0ad3), so the served asset does not change; internal/server/static_assets_test.go fetches every /s/ script base.html loads through the real router to prove the page still gets it.
52 lines
734 B
Plaintext
52 lines
734 B
Plaintext
# Binaries
|
|
*.exe
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
bin/
|
|
/webhooker
|
|
|
|
# Test binary, built with `go test -c`
|
|
*.test
|
|
|
|
# Output of the go coverage tool
|
|
*.out
|
|
|
|
# Go vendor directory
|
|
vendor/
|
|
|
|
# IDE specific files
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.vscode/
|
|
|
|
# OS specific files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Environment and config files
|
|
.env
|
|
.env.local
|
|
|
|
# Data directory (SQLite databases)
|
|
data/
|
|
*.db
|
|
*.sqlite
|
|
*.sqlite3
|
|
|
|
# Log files
|
|
*.log
|
|
|
|
# Temporary files
|
|
tmp/
|
|
temp/
|
|
|
|
# CI cache barrier, written into the build context by the check workflow
|
|
.ci-fingerprint
|
|
|
|
# Third-party browser assets, fetched and hash-verified by
|
|
# script/fetch-assets against static/vendor.sha256. Not committed:
|
|
# REPO_POLICIES.md forbids minified bundles in version control.
|
|
/static/js/alpine.min.js |