cookiecutter-jupyter-book
cookiecutter-jupyter-book copied to clipboard
This template makes a GitHub Action that expects a .pre-commit-config.yaml, but doesn't make one
Describe the bug
In a repo created by the template, the PR branch Action attempts to run pre-commit, but it immediately encounters the error,
=====> .pre-commit-config.yaml is not a file
(because there is no such file). Either pre-commit should be automatically added to Actions and configured, or neither.
It's also interesting that I'm seeing this in my first PR branch, but not any direct commits to main.
(It's hard to discover these issues without a guinea pig!)
Reproduce the bug
See above.
List your environment
Not relevant.