Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run a periodic esmvalbot test via automated PR #3465

Merged
merged 27 commits into from
Nov 29, 2024
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
1da2f83
add cron esmvalbot test
valeriupredoi Dec 12, 2023
036a67d
fix syntax
valeriupredoi Dec 12, 2023
2017f2f
plop an empty commit
valeriupredoi Dec 12, 2023
48c1cfa
try ad-hoc branch creation
valeriupredoi Dec 12, 2023
7a0a475
try off main
valeriupredoi Dec 12, 2023
3f9c835
remove team reviewers
valeriupredoi Dec 12, 2023
5f58389
Merge branch 'main' into cron_esmvalbot_test
valeriupredoi Dec 12, 2023
b3de3ba
change frequency and committer and author
valeriupredoi Dec 12, 2023
e73410f
Merge branch 'cron_esmvalbot_test' of https://github.com/ESMValGroup/…
valeriupredoi Dec 12, 2023
9456eb6
update to v5 and leave only author
valeriupredoi Dec 12, 2023
1b96cc6
try auto comment
valeriupredoi Dec 12, 2023
ae4d823
add PR number env variable
valeriupredoi Dec 12, 2023
23f5b6e
refine tests and comment
valeriupredoi Dec 12, 2023
817a05a
syntax boo
valeriupredoi Dec 12, 2023
d28e25d
try hijack it via commit message
valeriupredoi Dec 12, 2023
5ac9a68
try hijack it via commit message
valeriupredoi Dec 12, 2023
32f87e6
try hijack it via commit message
valeriupredoi Dec 12, 2023
4626a78
actual commit message
valeriupredoi Dec 12, 2023
69a7e35
cleanup
valeriupredoi Dec 12, 2023
89251ff
Merge branch 'main' into cron_esmvalbot_test
valeriupredoi May 3, 2024
b2c8449
Merge branch 'main' into cron_esmvalbot_test
valeriupredoi Nov 4, 2024
41e4ce4
change the GA workflow file
valeriupredoi Nov 4, 2024
e8f3ea9
fix Bouwe
valeriupredoi Nov 4, 2024
9ae8c3e
tweak message
valeriupredoi Nov 4, 2024
a77edac
update action versions
valeriupredoi Nov 4, 2024
9961bc1
schedule it every 2 weeks, and dont run on push
valeriupredoi Nov 4, 2024
a927f02
Merge branch 'main' into cron_esmvalbot_test
valeriupredoi Nov 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/cron_esmvalbot_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Run Esmvalbot Test

on:
# push:
# branches:
# - cron_esmvalbot_test
# scheduled once every 2 weeks
schedule:
- cron: '0 4 */14 * *'

# Required shell entrypoint to have properly configured bash shell
defaults:
run:
shell: bash -l {0}

jobs:
run-esmvalbot:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create empty commit on branch
run: |
git config user.name 'Valeriu Predoi'
git config user.email '[email protected]'
git commit --allow-empty -m "empty commit"
# Automated PR where we run "@esmvalbot please run examples/recipe_python.yml"
# as comment in the PR
# see https://github.com/marketplace/actions/create-pull-request
- name: Create Auto PR
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: empty message
# defaults are GH bot: # ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
committer: Valeriu Predoi <[email protected]>
author: Valeriu Predoi <[email protected]>
signoff: false
branch: run-esmvalbot
delete-branch: true
title: '[EsmvalbotTest] Periodic reminder to run an esmvalbot test'
body: 'Automatic PR; please DO NOT merge! This is for testing Esmvalbot only. @valeriupredoi @bouweandela @schlunma please run an ESMValBot test here; if the bot runs fine, please close the auto PR, if it has issues, please open a Github issue and tag @valeriupredoi. Many thanks :beers:'
labels: |
testing
esmvalbot
automatedPR
assignees: valeriupredoi
reviewers: valeriupredoi
draft: true