pre-commit-ci / issues

public issues for https://pre-commit.ci
16 stars 3 forks source link

Skipped hook triggers “clone of ... exceeds tier max size” #150

Closed adamchainz closed 1 year ago

adamchainz commented 1 year ago

With .pre-commit-config.yaml:

repos:
- repo: https://github.com/aws-cloudformation/cfn-lint
    rev: v0.66.1
    hooks:
      - id: cfn-python-lint
        files: '^files/cloudformation/.*\.yml$'
ci:
  skip:
    - cfn-python-lint

pre-commit.ci’s build step stops with the error:

clone of https://github.com/aws-cloudformation/cfn-lint@v0.66.1 exceeds tier max size 100MiB: 142.1MiB

This is sad, because the hook is skipped so shouldn't need cloning.

(Issue filed with the repo: https://github.com/aws-cloudformation/cfn-lint/issues/2455.)

asottile commented 1 year ago

the clone is still needed by pre-commit due to alias resolution