fix: Enable pre-commit CI workflow on pull requests
Enables precommit_checks CI workflow on pull requests, so PRs with issues will be automatically detected during review process.
Relates to
- https://github.com/stanfordnlp/dspy/issues/7823
I updated the detail but I'm not allowed to rerun the pipeline. Even though that step succeeds, I expect another failure from the actual pre-commit step.
Thanks so much @ulgens ! Should I merge this now? Or do you want to follow up with a different PR first?
@okhat I'd like to apply fixes with several different PRs if that's okay. I don't really want to push a PR with 338 changed files.
Yes that sounds good to me. But what's your plan? Should we merge this now or wait for other followups?
Let's merge this one.
And then?
Then, I'm planning to create PRs like these
- https://github.com/stanfordnlp/dspy/pull/7827
- https://github.com/stanfordnlp/dspy/pull/7828
for each hook repos under pre-commit, and finally enable everything, optimize the pre-commit workflow and make it faster.
@okhat @chenmoneygithub Any luck on revisiting this PR? I saw that some CI work is in progress, this one could be helpful.