cookiecutter-jupyter-book icon indicating copy to clipboard operation
cookiecutter-jupyter-book copied to clipboard

This template makes a GitHub Action that expects a .pre-commit-config.yaml, but doesn't make one

Open jpivarski opened this issue 1 year ago • 0 comments

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.

jpivarski avatar Aug 13 '24 19:08 jpivarski