Skip to content

How-To Example Incorrect? #10

@thepaulmacca

Description

@thepaulmacca

I'm looking at the How-To and in Step 2, the example is this:

cat <<EOF > .pre-commit-config.yaml
- repo: git://github.com/kintoandar/pre-commit.git
  sha: v2.1.2
  hooks:
  - id: terraform_fmt
  - id: terraform_validate
  - id: prometheus_check_rules
  - id: prometheus_check_config
EOF

Shouldn't sha be rev like other hooks?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions