From 6bb831df60d57c48fecaf11ce26efbe64861b7b2 Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Fri, 30 Oct 2026 17:35:34 +0800 Subject: [PATCH] chore(security): configure dependency and ownership reviews --- .github/CODEOWNERS | 12 ++++++++++++ .github/dependabot.yml | 33 +++++++++++++++++++++++++++++++++ CONTRIBUTING.md | 9 +++++++++ 3 files changed, 54 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/dependabot.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000000..2571be1c8e --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,12 @@ +# Review changes to security-sensitive automation and dependency inputs. +/.github/CODEOWNERS @morluto @kaoru0822-kitauji @N0zoM1z0 @gensokyo-dev +/.github/dependabot.yml @morluto @kaoru0822-kitauji @N0zoM1z0 @gensokyo-dev +/.github/workflows/ @morluto @kaoru0822-kitauji @N0zoM1z0 @gensokyo-dev +/.github/actions/ @morluto @kaoru0822-kitauji @N0zoM1z0 @gensokyo-dev +/package.json @morluto @kaoru0822-kitauji @N0zoM1z0 @gensokyo-dev +/package-lock.json @morluto @kaoru0822-kitauji @N0zoM1z0 @gensokyo-dev +/scripts/verify-tools/skills/package.json @morluto @kaoru0822-kitauji @N0zoM1z0 @gensokyo-dev +/scripts/verify-tools/skills/package-lock.json @morluto @kaoru0822-kitauji @N0zoM1z0 @gensokyo-dev +/scripts/fixtures/http3-lab-requirements.txt @morluto @kaoru0822-kitauji @N0zoM1z0 @gensokyo-dev +/website/requirements.txt @morluto @kaoru0822-kitauji @N0zoM1z0 @gensokyo-dev +/third_party/ @morluto @kaoru0822-kitauji @N0zoM1z0 @gensokyo-dev diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..b59e9e324b --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,33 @@ +version: 2 +updates: + - package-ecosystem: npm + directories: + - / + - /scripts/verify-tools/skills + schedule: + interval: weekly + cooldown: + default-days: 7 + open-pull-requests-limit: 5 + groups: + npm-minor-and-patch: + update-types: + - minor + - patch + + - package-ecosystem: pip + directory: /website + schedule: + interval: weekly + open-pull-requests-limit: 5 + + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + open-pull-requests-limit: 5 + groups: + actions-minor-and-patch: + update-types: + - minor + - patch diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9ac4080785..242253783f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -248,6 +248,15 @@ catalogs, documentation projections, or managed verification evidence. Turbo caches deterministic builds and static checks across Git worktrees. After a package, lockfile, or managed-skill version change, run `npm run metadata:generate` before building. +Dependabot proposes updates for the npm lockfiles, website Python requirements, +and GitHub Actions. Review dependency changes and run the checks relevant to +their consumers. For dependencies maintained outside Dependabot, including +`third_party/` and the HTTP/3 lab's pinned requirements, the maintainer should +review upstream security advisories when updating or using them. Preserve source +and version provenance, update license notices when needed, and report which +verification was actually repeated. The lab requirements describe a recorded +environment; a dependency update does not verify the revised environment. + Repository invariants live in [AGENTS.md](AGENTS.md). Keep provider-specific protocols in adapters and shared CLI/MCP workflows in the application layer.