MetOffice / MetOffice/CSET

Check for dependency changes in CI

Open
#622 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
33
Forks
19
Avg merge
1d 22h
Merged PRs (30d)
30

Description

### 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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the PR template and the existing conda update GitHub Actions workflows. Determine how conda YAML and lock files are currently handled; done means CI comments only when dependencies changed, with the conda update workflow keeping any comparison state current.

Written by the indexing model from the issue text.

Assessment

Tech stack
anaconda, github-actions
Domain
ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.