This is an automated email from the ASF dual-hosted git repository.

dahn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/main by this push:
     new b2b707b90ed Add pre-commit hooks: check-symlinks and 
destroyed-symlinks (#8071)
b2b707b90ed is described below

commit b2b707b90ed2ed86217c70fd15e0fab6bf32205f
Author: John Bampton <[email protected]>
AuthorDate: Thu Nov 2 18:07:50 2023 +1000

    Add pre-commit hooks: check-symlinks and destroyed-symlinks (#8071)
    
    https://github.com/pre-commit/pre-commit-hooks#check-symlinks
    
    https://github.com/pre-commit/pre-commit-hooks#destroyed-symlinks
---
 .pre-commit-config.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 761f7436dcc..a55596d419b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -32,8 +32,10 @@ repos:
       - id: check-case-conflict
       #- id: check-executables-have-shebangs
       - id: check-merge-conflict
+      - id: check-symlinks
       - id: check-vcs-permalinks
       #- id: check-yaml
+      - id: destroyed-symlinks
       - id: detect-private-key
         exclude: >
           (?x)

Reply via email to