File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
src/content/docs/configuration Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -231,6 +231,19 @@ detailed description of the problem and guidance on how to fix it. Be sure to
231
231
address any errors or warnings to ensure optimal performance and avoid
232
232
potential issues.
233
233
234
+ # ## Validate Locally With Pre-Commit
235
+
236
+ To catch issues before pushing, you can validate your configuration locally
237
+ using [Mergify's pre-commit hook](https://github.com/Mergifyio/mergify-pre-commit). Add this to your `.pre-commit-config.yaml` :
238
+
239
+ ` ` ` yaml
240
+ repos:
241
+ - repo: https://github.com/Mergifyio/mergify-pre-commit
242
+ rev: 1.0.0
243
+ hooks:
244
+ - id: validate-mergify-config
245
+ ` ` `
246
+
234
247
# ## Troubleshooting
235
248
236
249
If you encounter issues or unexpected behavior with your Mergify configuration
You can’t perform that action at this time.
0 commit comments