mirror of
https://github.com/bitbaum/fleet.git
synced 2026-12-05 00:38:19 +01:00
A complete, tested Next.js 16 app — next-intl (en/de/fr, localePrefix "always", parity test, Swiss spelling), better-auth accounts on Drizzle + pg (email+password with verification, magic link via mail-kit, passkeys, TOTP 2FA, the shared bitbaum sign-in and OrangeCat as env-gated OIDC with client_secret_post + PKCE, roles in the app's own users table), nonce CSP with strict-dynamic and connect-src 'self', limitkit on every auth path keyed on the proxy's hop, secrets sealed with ai-kit seal, ai-kit complete() example route, own-model settings, bip-kit roadmap/changelog, /api/health asserting the app can read its own tables, and CI/deploy/live-check/CodeQL/gitleaks/audit workflows. scripts/templates/render-app.sh fills the placeholders; scripts/templates/test-app-template.sh holds the render to the fleet's own judges (version-currency gapsFor, verify-floor predicates, cicd-hygiene audit) on every PR, and the new app-template CI job installs it, runs verify and drives sign-up/sign-in against a real Postgres. STACK.md records the owner's 2026-10-11 sign-in decision: every app owns its accounts and offers every method; it supersedes the 2026-09-11 federate-only rule. SHARED.md and README point new products at templates/app. The duplication ratchet skips the starter itself (the one canonical copy). Claude-Session: https://claude.ai/code/session_01W7K2Gm5wcbfCi7THtmV1Hy Co-authored-by: Claude <noreply@anthropic.com>
39 lines
1007 B
YAML
39 lines
1007 B
YAML
name: CodeQL
|
|
|
|
# Static analysis (injection, unsafe flows, XSS) on every PR, on main and
|
|
# weekly, so new queries meet unchanged code. Results land in the Security tab.
|
|
# GitHub offers code scanning free on PUBLIC repositories only; on a private
|
|
# one the job is skipped rather than failing red forever.
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
schedule:
|
|
- cron: "17 3 * * 1"
|
|
|
|
permissions:
|
|
contents: read
|
|
security-events: write
|
|
actions: read
|
|
|
|
concurrency:
|
|
group: codeql-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
analyze:
|
|
if: ${{ !github.event.repository.private }}
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: github/codeql-action/init@v4.38.2
|
|
with:
|
|
languages: javascript-typescript
|
|
build-mode: none
|
|
queries: security-extended
|
|
- uses: github/codeql-action/analyze@v4.38.2
|
|
with:
|
|
category: "/language:javascript-typescript"
|