docs: fix protocol to prevent MITM (#257)

This commit is contained in:
Maksym Vlasov 2021-10-25 21:10:36 +03:00 committed by GitHub
commit a0f69e3ba7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -144,7 +144,7 @@ Step into the repository you want to have the pre-commit hooks installed and run
git init
cat <<EOF > .pre-commit-config.yaml
repos:
- repo: git://github.com/antonbabenko/pre-commit-terraform
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: <VERSION> # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
hooks:
- id: terraform_fmt