Skip to content

[Bug] pre-commit workflow is broken #7823

Open
@ulgens

Description

@ulgens

What happened?

When I try to run pre-commit run --all-files in the repo, it generates a huge diff with 338 affected files. Considering the pre-commit setup was in place for a while, running this command on the main branch shouldn't change any file.

I checked what's going on with the related CI workflow and apparently, it's been broken for a while:

The workflow is not valid. .github/workflows/precommits_check.yml (Line: 18, Col: 5): Required property is missing: runs-on

https://github.com/stanfordnlp/dspy/actions/runs/8059208679

Steps to reproduce

  • Run pre-commit run --all-files on the main branch's latest
  • Check the git status output

DSPy version

main

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions