hubverse-org / hubEnsembles

Ensemble methods for combining hub model outputs.
https://hubverse-org.github.io/hubEnsembles/
Other
5 stars 2 forks source link

In update-example-hub action, catch situation where no changes were made to example hub #11

Closed elray1 closed 4 months ago

elray1 commented 1 year ago

Currently, this results in the following error:

Committing files...
On branch update_example_simple_forecast_hub
nothing to commit, working tree clean
Error: Process completed with exit code 1.

We would like to capture this situation and not attempt to commit or push changes if none were made.

elray1 commented 4 months ago

I'm closing this issue as it will no longer be relevant once we move to using hubExamples for example data.