MetOffice / CSET

Toolkit for evaluation and investigation of numerical models for weather and climate applications.
https://metoffice.github.io/CSET/
Apache License 2.0
10 stars 4 forks source link

Check for dependency changes in CI #622

Open jfrost-mo opened 4 months ago

jfrost-mo commented 4 months ago

What problem does your feature request solve?

In our PR template we have the line

Conda lock files have been updated if dependencies have changed.

This is a bit meaningless to most changes.

Describe the solution you'd like

We could use an additional GitHub Actions check to only comment if the lock files have changed. This would probably just involve hashing the conda yaml files, and maybe using the cache action as a database. We might also need to refresh this hash in the conda update action.

Describe alternatives you've considered

The current manual check does work, but we should be getting computers to do repetitive work.