Trek_CN/.github/workflows
Maurice 9f57ab4517 security: address second-pass audit findings
- CI-C1 false positive: actions/{checkout,setup-node,upload-artifact}
  @v6 do exist (v6.0.0 releases published Oct-Dec 2025). Restore the
  @v6 refs — the earlier batch-1 commit downgraded them unnecessarily.
- Widen idempotency_keys primary key to (key, user_id, method, path)
  via new migration. Batch 1 widened the middleware lookup but left
  the table PK at (key, user_id), so `INSERT OR IGNORE` silently
  skipped the second endpoint that reused a key — the cache was
  never populated for it and a replay re-ran the handler. The
  migration rebuilds the table preserving existing rows (the old
  narrower PK guarantees no conflicts against the new looser key).
- HSTS: keep `includeSubDomains` OFF by default. Enabling it for
  every NODE_ENV=production install would break apex-domain setups
  where siblings still serve HTTP. Operators who want the stricter
  policy opt in with HSTS_INCLUDE_SUBDOMAINS=true.
- Extend the idempotency unit tests to cover the (method, path)
  dimension — same user+key on different path no longer replays.
2026-04-20 21:04:09 +02:00
..
close-stale-invalid-titles.yml ci: add contributor workflow automation 2026-04-09 01:23:21 +02:00
close-stale-wrong-branch.yml ci: add contributor workflow automation 2026-04-09 01:23:21 +02:00
close-untitled-issues.yml ci: add contributor workflow automation 2026-04-09 01:23:21 +02:00
docker-dev.yml ci: manual trigger for prerelease 2026-04-15 21:35:53 +02:00
docker.yml docs: add full wiki with 74 pages, assets, and CI workflow 2026-04-20 10:11:53 +02:00
enforce-target-branch.yml fix: enforce target branch workflow 2026-04-12 15:35:40 +02:00
test.yml security: address second-pass audit findings 2026-04-20 21:04:09 +02:00
wiki.yml docs: add full wiki with 74 pages, assets, and CI workflow 2026-04-20 10:11:53 +02:00