Skip to content

feat: support prek.toml and .pre-commit-config.yml in cache key#65

Merged
j178 merged 2 commits into
j178:mainfrom
shaanmajid:feat/prek-toml-support
Feb 6, 2026
Merged

feat: support prek.toml and .pre-commit-config.yml in cache key#65
j178 merged 2 commits into
j178:mainfrom
shaanmajid:feat/prek-toml-support

Conversation

@shaanmajid

Copy link
Copy Markdown
Collaborator

Expand hashFiles() to cover all three config filenames that prek recognizes (prek.toml, .pre-commit-config.yaml, .pre-commit-config.yml). Update README requirements to reflect the supported config files.

Closes #64

shaanmajid and others added 2 commits February 5, 2026 17:23
Expand hashFiles() to cover all three config filenames that prek
recognizes (prek.toml, .pre-commit-config.yaml, .pre-commit-config.yml).
Update README requirements to reflect the supported config files.
@j178 j178 merged commit 2afd48d into j178:main Feb 6, 2026
7 checks passed
@j178

j178 commented Feb 6, 2026

Copy link
Copy Markdown
Owner

Thanks!

@j178 j178 added the enhancement New feature or request label Feb 6, 2026
@shaanmajid shaanmajid deleted the feat/prek-toml-support branch February 6, 2026 03:00
@j178 j178 mentioned this pull request Feb 6, 2026
16 tasks
shaanmajid added a commit to shaanmajid/prek that referenced this pull request Feb 6, 2026
Needed to properly invalidate cache with prek.toml (j178/prek-action#65).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorporate prek.toml and .pre-commit-config.yml as part of cache keys

2 participants