Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.24 KB

File metadata and controls

24 lines (16 loc) · 1.24 KB

.github Agent Guide

Purpose

Repository automation: Dependabot and GitHub Actions. Start here for humans: README.md (full file index, triggers, local commands). Workflow-focused summary: workflows/README.md.

Files

  • dependabot.yml: Dependabot for pip and GitHub Actions (weekly Monday UTC).
  • workflows/: CI (test matrix with Ruff on 3.12, Bandit SARIF), docs audit, actionlint, dependency review, CodeQL, scheduled supply-chain pip-audit.

Operating rules

  • Keep permissions least-privilege at workflow and job level.
  • Expect dependency review to be limited or skipped for PRs from forks (GitHub dependency graph behavior).
  • Keep dependency operations deterministic (--frozen where lockfile behavior matters).
  • Validate workflow changes with actionlint before merge (see workflows/actionlint.yml).
  • Keep output/ tracked in git; do not use .github automation to alter that policy.

Maintenance checklist

  • Review workflow action major versions periodically.
  • Review Dependabot grouping and cadence when PR volume changes.
  • Ensure new workflows include concurrency, permissions, and timeout-minutes.