ESMValGroup / ESMValTool

ESMValTool: A community diagnostic and performance metrics tool for routine evaluation of Earth system models in CMIP
https://www.esmvaltool.org
Apache License 2.0
215 stars 126 forks source link

Run a periodic esmvalbot test via automated PR #3465

Open valeriupredoi opened 8 months ago

valeriupredoi commented 8 months ago

Description

This PR adds a Github Action that sets up an automated PR (via an empty commit, so no actual files changed, even if that PR gets merged by accident) where Esmvalbot gets invoked to run an example recipe (recipe_python.yml, but that can change) via comment from the GH bot, to test our bot periodically. This is how the auto PR looks like https://github.com/ESMValGroup/ESMValTool/pull/3468 (don't mind the failed codacy, the auto PR will target main after this PR gets merged). The only hitch at the moment is to allow github-actions[bot] to invoke Esmvalbot, easily done if peeps are OK with it - the rest is as if it was a use ie open PR, invoking Esmvalbot via comment, labels etc


Before you get started

Checklist

It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the ๐Ÿ›  Technical or ๐Ÿงช Scientific review.

bouweandela commented 6 months ago

The only hitch at the moment is to allow github-actions[bot] to invoke Esmvalbot, easily done if peeps are OK with it

I'm not sure if we would be allowed to do that from a security point of view. I also do not feel qualified to make a judgment on that. Is this an important topic to you? Maybe we could discuss it with the providers of the machine that the bot runs on.

mo-gill commented 4 months ago

Hi, we are currently working on the ESMValTool release for v2.11.0. We're wondering if you'd be able to complete this PR by the end of next week (Friday 10th May).

Otherwise, please let us know, and we'll move it into the next milestone for you :slightly_smiling_face:

valeriupredoi commented 4 months ago

am moving this to M2.12 since we're still not decided if the bot can have that much powah :robot: