ikarus-project / ikarus

Ikarus is a C++-based library that uses DUNE modules to solve partial differential equations with the finite element method and more.
https://ikarus-project.github.io/
Other
5 stars 3 forks source link

CI workflow that automatically fixes the format by adding a commit on github (Inspiration from Pybind11) #319

Open rath3t opened 3 weeks ago

rath3t commented 3 weeks ago

https://github.com/pybind/pybind11/blob/a1d00916b26b187e583f3bce39cd59c3b0652c32/.pre-commit-config.yaml

https://github.com/pybind/pybind11/blob/a1d00916b26b187e583f3bce39cd59c3b0652c32/.github/workflows/format.yml#L4

henrij22 commented 3 weeks ago

Good idea, would you rather have this as a worklflow_dispatch or that is runs everytime we have a commit to a PR (?) Ah i see they are automically running this pre-commit hook