diff --git a/.coderabbit.yaml b/.coderabbit.yaml index e0bd1c8..f711bf6 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -1,6 +1,8 @@ +language: en-US reviews: auto_review: enabled: true + drafts: false path_instructions: - path: "scripts/**/*.sh" instructions: | @@ -33,3 +35,5 @@ reviews: - "!**/*.png" - "!**/*.gif" - "!**/*.jpg" +chat: + auto_reply: true diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index d642b9e..4bb5686 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -1,4 +1,6 @@ -# Review Priorities +# GitHub Copilot Code Review Instructions + +## Review Priority 1. Shell script quality: shellcheck and shellharden compliance, proper quoting, error handling (set -euo pipefail), no hardcoded tokens @@ -12,3 +14,12 @@ permissions, no script injection 6. Markdown quality: 120 char line limit, fenced code blocks, accurate documentation + +## Expectations + +- All shell scripts must pass shellcheck and shellharden without + suppressions. +- Variables must be quoted (`"$VAR"`), braces only when needed. +- No hardcoded credentials, account IDs, or tokens in any file. +- Conventional commits required for all changes. +- Fix lint violations directly instead of adding ignore comments.