diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 020f65f4c..f1a7a65ef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ repos: -- repo: git://github.com/pre-commit/pre-commit-hooks +- repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.0.1 hooks: # Git style @@ -28,7 +28,7 @@ repos: - id: detect-private-key -- repo: git://github.com/jumanjihouse/pre-commit-hooks +- repo: https://github.com/jumanjihouse/pre-commit-hooks rev: 2.1.5 hooks: - id: shfmt diff --git a/README.md b/README.md index 637d66b82..a6d8ccaba 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ Step into the repository you want to have the pre-commit hooks installed and run git init cat < .pre-commit-config.yaml repos: -- repo: git://github.com/antonbabenko/pre-commit-terraform +- repo: https://github.com/antonbabenko/pre-commit-terraform rev: # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases hooks: - id: terraform_fmt