mirror of
https://github.com/bitbaum/diplodoctor.git
synced 2026-12-04 04:47:18 +01:00
* feat: optional accounts and the fleet's security automation, from templates/app Accounts (better-auth on Drizzle/pg: password, link, passkey, 2FA, OrangeCat, shared sign-in) in five languages, optional: reading a report needs none and no health data is stored. Adds format check, integration tests against Postgres, CodeQL, dependency audit, secret scan, dependabot, and /api/health that checks the database. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UzP8kyUAz5uhKE3mt87Yi7 * fix(deps): sharp 0.35.5, the patched librsvg The audit job (prod, high) failed on sharp <0.35.5; the lockfile carried over from the starter predated main's Dependabot bump. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UzP8kyUAz5uhKE3mt87Yi7 --------- 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"
|