Browse Source

Add pre-commit autoupdate command to README.md (#978)

Akash Chandwani 3 years ago
parent
commit
62020539f4
1 changed files with 4 additions and 3 deletions
  1. 4 3
      README.md

+ 4 - 3
README.md

@@ -106,15 +106,16 @@ jobs:
    ```
    repos:
      - repo: https://github.com/zricethezav/gitleaks
-       rev: v8.11.2
+       rev: v8.12.0
        hooks:
          - id: gitleaks
    ```
 
    for a [native execution of GitLeaks](https://github.com/zricethezav/gitleaks/releases) or use the [`gitleaks-docker` pre-commit ID](https://github.com/zricethezav/gitleaks/blob/master/.pre-commit-hooks.yaml) for executing GitLeaks using the [official Docker images](#docker)
 
-3. Install with `pre-commit install`
-4. Now you're all set!
+3. Auto-update the config to the latest repos' versions by executing `pre-commit autoupdate`
+4. Install with `pre-commit install`
+5. Now you're all set!
 
 ```
 ➜ git commit -m "this commit contains a secret"