cmor tables #4
This file contains 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: cmor tables | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'docs/data-request-i4c-merged.csv' | |
branches: | |
- 'main' | |
jobs: | |
update-cmor-tables: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install data_request_tools | |
run: | | |
python -m pip install --upgrade pip | |
pip install git+https://github.com/WCRP-CORDEX/data-request-tools@v0.1.0 | |
- name: Create tables | |
run: | | |
create-cmor-tables docs/data-request-i4c-merged.csv --coords --output cmor-tables | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
commit-message: update cmor tables | |
title: Update CMOR tables | |
body: | | |
Updates cmor tables | |
Auto-generated by [create-pull-request][1] | |
[1]: https://github.com/peter-evans/create-pull-request | |
branch: cmor-tables-updates |