You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
instructions: Issues reporting bugs, errors, crashes, incorrect behavior, or unexpected results. This includes runtime errors, logic errors, broken functionality, regressions, and any deviation from expected or documented behavior.
instructions: Feature requests, improvements to existing functionality, performance optimizations, refactoring suggestions, UI/UX enhancements, and any suggestions to make the project better or add new capabilities.
35
+
instructions: Requests to add new sub-org policies, refine branch protections, update rulesets, or enhance automated sync workflows.
36
36
- label: documentation
37
-
instructions: Documentation updates, additions, corrections, or clarifications needed. This includes missing docs, outdated information, unclear instructions, API documentation, code examples, README improvements, and any requests for better explanations or guides.
37
+
instructions: Updates to README.md, policy manuals, setup guides, or best practices documentation.
38
38
planning:
39
39
enabled: true
40
40
auto_planning:
@@ -58,7 +58,6 @@ reviews:
58
58
# Only auto-review PRs targeting these branches
59
59
base_branches:
60
60
- main
61
-
- develop
62
61
63
62
# Include a high-level summary at the start of each review
64
63
high_level_summary: true
@@ -92,246 +91,47 @@ reviews:
92
91
93
92
# Exclude these paths from reviews (build artifacts and dependencies)
94
93
path_filters:
95
-
- "!**/node_modules/**"# npm dependencies
96
-
- "!**/android/**"# Native Android build files
97
-
- "!**/ios/**"# Native iOS build files
98
-
- "!**/.expo/**"# Expo build cache
99
-
- "!**/.expo-shared/**"# Expo shared config
100
-
- "!**/dist/**"# Build output
94
+
- "!**/node_modules/**"
95
+
- "!**/dist/**"
101
96
102
-
# Use the following tools when reviewing
103
97
tools:
104
-
shellcheck:
105
-
enabled: true
106
-
ruff:
98
+
yamllint:
107
99
enabled: true
108
100
markdownlint:
109
101
enabled: true
110
-
github-checks:
111
-
enabled: true
112
-
timeout_ms: 90000
113
-
languagetool:
114
-
enabled: true
115
-
enabled_only: false
116
-
level: default
117
-
biome:
118
-
enabled: true
119
-
hadolint:
120
-
enabled: true
121
-
swiftlint:
122
-
enabled: true
123
-
phpstan:
124
-
enabled: true
125
-
level: default
126
-
golangci-lint:
127
-
enabled: true
128
-
yamllint:
129
-
enabled: true
130
102
gitleaks:
131
103
enabled: true
132
-
checkov:
104
+
shellcheck:
133
105
enabled: true
134
-
detekt:
106
+
github-checks:
135
107
enabled: true
108
+
timeout_ms: 90000
136
109
eslint:
137
110
enabled: true
138
111
139
-
# Apply the following labels to PRs
140
112
labeling_instructions:
141
-
- label: Python Lang
142
-
instructions: Apply when the PR/MR contains changes to python source-code
143
-
- label: Solidity Lang
144
-
instructions: Apply when the PR/MR contains changes to solidity source-code
145
-
- label: Typescript Lang
146
-
instructions: Apply when the PR/MR contains changes to javascript or typescript source-code
147
-
- label: Ergoscript Lang
148
-
instructions: Apply when the PR/MR contains changes to ergoscript source-code
149
-
- label: Bash Lang
150
-
instructions: >-
151
-
Apply when the PR/MR contains changes to shell-scripts or BASH code
152
-
snippets
153
-
- label: Make Lang
154
-
instructions: >-
155
-
Apply when the PR/MR contains changes to the file `Makefile` or makefile
156
-
code snippets
113
+
- label: Safe-Settings Policy
114
+
instructions: Apply when PR modifies .github/settings.yml, .github/suborgs/, .github/repos/, or deployment-settings.yml
115
+
- label: Workflow
116
+
instructions: Apply when PR modifies files inside .github/workflows/
157
117
- label: Documentation
158
-
instructions: >-
159
-
Apply whenever project documentation (namely markdown source-code) is
160
-
updated by the PR/MR
161
-
- label: Linter
162
-
instructions: >-
163
-
Apply when the purpose of the PR/MR is related to fixing the feedback
164
-
from a linter
118
+
instructions: Apply whenever README.md or project markdown docs are updated
165
119
166
-
# Review instructions that apply to all files
167
-
instructions: >-
168
-
- Verify that documentation and comments are free of spelling mistakes
169
-
- Ensure that test code is automated, comprehensive, and follows testing best practices
170
-
- Verify that all critical functionality is covered by tests
171
-
- Confirm that the code meets the project's requirements and objectives
172
-
- Confirm that copyright years are up-to date whenever a file is changed
173
-
- Point out redundant obvious comments that do not add clarity to the code
174
-
- Ensure that comments are concise and suggest more concise comment statements if possible
175
-
- Discourage usage of verbose comment styles such as NatSpec
176
-
- Look for code duplication
177
-
- Suggest code completions when:
178
-
- seeing a TODO comment
179
-
- seeing a FIXME comment
120
+
instructions:
121
+
- Verify that all YAML safe-settings files follow valid safe-settings schema syntax
122
+
- Confirm that sub-organization mappings under .github/suborgs/ contain valid repo lists
123
+
- Check that secret references in GitHub Action workflows use secret masks (e.g. secrets.SAFE_SETTINGS_PRIVATE_KEY)
124
+
- Ensure documentation is accurate, clear, and up-to-date
180
125
181
-
# Custom review instructions for specific file patterns
182
126
path_instructions:
183
-
# TypeScript/JavaScript files
184
-
- path: "**/*.{ts,tsx,js,jsx}"
127
+
- path: "**/*.yml"
185
128
instructions: |
186
-
NextJS:
187
-
- Ensure that "use client" is being used
188
-
- Ensure that only features that allow pure client-side rendering are used
189
-
- NextJS best practices (including file structure, API routes, and static generation methods) are used.
190
-
191
-
TypeScript:
192
-
- Avoid 'any', use explicit types
193
-
- Prefer 'import type' for type imports
194
-
- Review for significant deviations from Google JavaScript style guide. Minor style issues are not a priority
195
-
- The code adheres to best practices associated with React
196
-
- The code adheres to best practices associated with React PWA
197
-
- The code adheres to best practices associated with SPA
198
-
- The code adheres to best practices recommended by lighthouse or similar tools for performance
199
-
- The code adheres to best practices associated with Node.js
200
-
- The code adheres to best practices recommended for performance
201
-
202
-
Security:
203
-
- No exposed API keys or sensitive data
204
-
- Use expo-secure-store for sensitive storage
205
-
- Validate deep linking configurations
206
-
- Check for common security vulnerabilities such as:
207
-
- SQL Injection
208
-
- XSS (Cross-Site Scripting)
209
-
- CSRF (Cross-Site Request Forgery)
210
-
- Insecure dependencies
211
-
- Sensitive data exposure
212
-
213
-
Internationalization:
214
-
- User-visible strings should be externalized to resource files (i18n)
215
-
216
-
# HTML files
217
-
- path: "**/*.html"
218
-
instructions: |
219
-
Review the HTML code against the google html style guide and point out any mismatches. Ensure that:
220
-
- The code adheres to best practices recommended by lighthouse or similar tools for performance
0 commit comments