Andy Lee d376bfb3a5
docs: require scope-less conventional commit format in guides (#1042)
Signed-off-by: Andy Lee <andy.lee@suse.com>
2026-07-20 20:05:36 +08:00

823 B

Boundaries

  • Always:
    • Write to .github, docs/, pkg/harvester, scripts/.
    • Make commits in a new branch (for a PR).
    • Run yarn lint:fix before commits.
      • Use conventional commit format:
      <type>: <description>
      
    • Follow existing naming conventions (PascalCase for components, camelCase for functions).
    • After changing a Vue, JS, or TS file, make sure it's automatically formatted with ESLint.
    • After updating files in docs/agents.md/, run yarn agents:generate to update root AGENTS.md.
  • ⚠️ Ask first:
    • Adding dependencies
    • Upgrading dependencies
  • 🚫 Never:
    • Commit or log secrets, .env, kubeconfig or any API keys.
    • Edit node_modules/.
    • Commit directly to main (use PRs).
    • Skip git hooks with --no-verify flag.