diff --git a/.github/workflows/update_datasets.yml b/.github/workflows/update_datasets.yml index cd0f4d31..eccee3f5 100644 --- a/.github/workflows/update_datasets.yml +++ b/.github/workflows/update_datasets.yml @@ -51,4 +51,25 @@ jobs: title: "[AUTO] Update Datasets" body: "This is an auto-generated PR with dataset updates." branch: "update-datasets-${{ github.run_number }}" - delete-branch: true \ No newline at end of file + delete-branch: true + + - name: Install GitHub CLI + run: | + if ! command -v gh &> /dev/null + then + echo "GitHub CLI not found, installing..." + curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg + echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null + sudo apt update + sudo apt install gh -y + else + echo "GitHub CLI is already installed." + fi + + - name: Enable Auto-Merge for the PR + if: steps.git-check.outputs.changes_detected == 'true' + run: | + PR_NUMBER=$(echo ${{ steps.create-pr.outputs.pull-request-number }}) + gh pr merge $PR_NUMBER --auto --merge + env: + GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} \ No newline at end of file diff --git a/docs/datasets/climate_model_data.md b/docs/datasets/climate_model_data.md index 9e083749..11a4faaa 100644 --- a/docs/datasets/climate_model_data.md +++ b/docs/datasets/climate_model_data.md @@ -111,8 +111,8 @@ /nfs/atmos/c2sm/cmip6-ng ``` -- Size: 200.55 TB :material-information-outline:{ title="last updated: 2024-07-10 01:45:44" } -- Number of files: 663,772 :material-information-outline:{ title="last updated: 2024-07-10 01:45:44" } +- Size: 200.62 TB :material-information-outline:{ title="last updated: 2024-07-15 01:45:40" } +- Number of files: 663,800 :material-information-outline:{ title="last updated: 2024-07-15 01:45:40" } - Access: direct / rsync - Status: frozen (2019-03) - Variables: @@ -195,8 +195,8 @@ /store/c2sm/c2sme/cordex ``` -- Size: 356.97 TB :material-information-outline:{ title="last updated: 2024-07-10 01:45:53" } -- Number of files: 552,595 :material-information-outline:{ title="last updated: 2024-07-10 01:45:53" } +- Size: 356.97 TB :material-information-outline:{ title="last updated: 2024-07-15 01:45:43" } +- Number of files: 552,595 :material-information-outline:{ title="last updated: 2024-07-15 01:45:43" } - Access: direct / rsync - Status: monthly updated - Resolution: 0.44° and 0.11° @@ -211,8 +211,8 @@ ```console /nfs/atmos/c2sm/cordex-reklies ``` -- Size: 22.41 TB :material-information-outline:{ title="last updated: 2024-07-10 01:43:06" } -- Number of files: 94,936 :material-information-outline:{ title="last updated: 2024-07-10 01:43:06" } +- Size: 22.41 TB :material-information-outline:{ title="last updated: 2024-07-15 01:43:04" } +- Number of files: 94,936 :material-information-outline:{ title="last updated: 2024-07-15 01:43:04" } - Access: direct - Status: monthly updated - Resolution: 0.11° diff --git a/docs/datasets/obs_reanalysis_data.md b/docs/datasets/obs_reanalysis_data.md index a30686db..4afb3c7c 100644 --- a/docs/datasets/obs_reanalysis_data.md +++ b/docs/datasets/obs_reanalysis_data.md @@ -156,8 +156,8 @@ /net/atmos/data/cerra/processed/v1/ ``` -- Size: 7.72 TB :material-information-outline:{ title="last updated: 2024-07-10 01:42:37" } -- Number of files: 1,824 :material-information-outline:{ title="last updated: 2024-07-10 01:42:37" } +- Size: 7.72 TB :material-information-outline:{ title="last updated: 2024-07-15 01:42:35" } +- Number of files: 1,824 :material-information-outline:{ title="last updated: 2024-07-15 01:42:35" } - Access: direct - Status: updated - Time period: 1985-2020 @@ -198,8 +198,8 @@ /net/atmos/data/cerra-land/processed/v1/ ``` -- Size: 1.78 TB :material-information-outline:{ title="last updated: 2024-07-10 01:42:37" } -- Number of files: 1,016 :material-information-outline:{ title="last updated: 2024-07-10 01:42:37" } +- Size: 1.78 TB :material-information-outline:{ title="last updated: 2024-07-15 01:42:35" } +- Number of files: 1,016 :material-information-outline:{ title="last updated: 2024-07-15 01:42:35" } - Access: direct - Status: updated - Time period: 1985-2020 @@ -252,8 +252,8 @@ /nfs/atmos/c2sm/era5/processed/v2 ``` -- Size: 45.76 TB :material-information-outline:{ title="last updated: 2024-07-10 01:44:26" } -- Number of files: 138,400 :material-information-outline:{ title="last updated: 2024-07-10 01:44:26" } +- Size: 45.76 TB :material-information-outline:{ title="last updated: 2024-07-15 01:43:24" } +- Number of files: 138,400 :material-information-outline:{ title="last updated: 2024-07-15 01:43:24" } - Access: direct - Status: updated - Time period: v1: 1940-present, v2: 1980-present @@ -293,8 +293,8 @@ /net/atmos/data/era5-land_cds/processed/v1/ ``` -- Size: 6.64 TB :material-information-outline:{ title="last updated: 2024-07-10 01:42:40" } -- Number of files: 1,504 :material-information-outline:{ title="last updated: 2024-07-10 01:42:40" } +- Size: 6.64 TB :material-information-outline:{ title="last updated: 2024-07-15 01:42:37" } +- Number of files: 1,504 :material-information-outline:{ title="last updated: 2024-07-15 01:42:37" } - Access: direct - Status: updated - Time period: 1950-present diff --git a/exclude_link_patterns.txt b/exclude_link_patterns.txt index 165f3eb5..37972f61 100644 --- a/exclude_link_patterns.txt +++ b/exclude_link_patterns.txt @@ -9,4 +9,5 @@ agupubs.onlinelibrary.wiley.com ^https://hcdc.hereon.de/clm-community/webpep/webpep ^https://doi.org ^https://zenodo.org -^https://www.gnu.org \ No newline at end of file +^https://www.gnu.org +^https://git.iac.ethz.ch