Run Esmvalbot Test #65
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run Esmvalbot Test | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| on: | |
| # push: | |
| # branches: | |
| # - cron_esmvalbot_test | |
| # scheduled twice a month (on the 1st and 16th) | |
| schedule: | |
| - cron: '0 4 1,16 * *' | |
| # Required shell entrypoint to have properly configured bash shell | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| jobs: | |
| run-esmvalbot: | |
| runs-on: 'ubuntu-latest' | |
| if: github.repository == 'ESMValGroup/ESMValTool' # avoid GAs in forks | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Create empty commit on branch | |
| run: | | |
| git config user.name 'Valeriu Predoi' | |
| git config user.email 'valeriu.predoi@gmail.com' | |
| 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@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| commit-message: empty message | |
| # defaults are GH bot: # ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
| committer: Valeriu Predoi <valeriu.predoi@gmail.com> | |
| author: Valeriu Predoi <valeriu.predoi@gmail.com> | |
| 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 |