-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (36 loc) · 1.04 KB
/
cmor-tables.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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/[email protected]
- 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