Run prek as a GitHub Action#67
Run prek as a GitHub Action#67DimitriPapadopoulos wants to merge 3 commits intopoldracklab:masterfrom
Conversation
|
Can you provide a summary of what this is supposed to do? |
|
Like
Because it's a drop-in replacement, developers can keep using |
|
Some (non-scientific) literature on the subject: |
|
I would suggest just using https://pre-commit.ci/, rather than adding a new GHA workflow. |
|
The thing with pre-commit.ci, which by the way is not enabled in this repository as far as I can see, is that you give it full repository access. That's an additional operator you need to trust. |
|
GitHub Actions, on the other hand, need not this additional service provider. They are run by GitHub, and you already trust GitHub services by hosting the repository on their servers. |
|
The idea here was to use |
2bb370a to
7d61e76
Compare
Because `prek` is a `pre-commit` drop-in replacement, it can use `.pre-commit-config.yaml` as a config file.
7d61e76 to
91cbc8a
Compare
This requires to enable GitHub Actions in this repository.