diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 91bd34fc..466d28c9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,6 +12,8 @@ repos: - id: check-merge-conflict - id: check-symlinks - id: destroyed-symlinks + - id: no-commit-to-branch + args: ["--branch", "master", "--branch", "main"] # Some exclusions - id: trailing-whitespace exclude: "^.*drawio$" @@ -27,8 +29,8 @@ repos: exclude: "^.*drawio$" - id: detect-private-key exclude: "^.*drawio$" - - id: detect-aws-credentials - exclude: "^.*drawio$" + # - id: detect-aws-credentials + # exclude: "^.*drawio$" - id: check-ast exclude: "^.*drawio$" - id: check-shebang-scripts-are-executable