From c8fd58933536055f9442f130f80ea70bd23148df Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 14 May 2026 02:26:12 +0000 Subject: [PATCH 1/2] =?UTF-8?q?Upgrade=20CI=20actions:=20setup-miniconda?= =?UTF-8?q?=20v3=E2=86=92v4,=20install-juliaup=20v2=E2=86=92v3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHub Actions emits a deprecation warning when actions run on Node.js 20: "conda-incubator/setup-miniconda@v3 and julia-actions/install-juliaup@v2 are running on Node.js 20 and may not work as expected." Both actions have released newer major versions that move to Node.js 24: - conda-incubator/setup-miniconda v4 (Node.js 24) - julia-actions/install-juliaup v3 (Node.js 24) Upgrade all three workflow files (CI.yml, conda_build.yml, docs.yml) to remove these warnings and ensure continued compatibility as GitHub eventually retires Node.js 20 runners. Agent-Logs-Url: https://github.com/ReactionMechanismGenerator/RMG-Py/sessions/89dd52b8-94be-44c3-b6b7-8031ca29802e Co-authored-by: rwest <93807+rwest@users.noreply.github.com> --- .github/workflows/CI.yml | 8 ++++---- .github/workflows/conda_build.yml | 2 +- .github/workflows/docs.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index af1ba44120..ac832c7ece 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -81,7 +81,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Miniforge Python ${{ matrix.python-version }} - uses: conda-incubator/setup-miniconda@v3 + uses: conda-incubator/setup-miniconda@v4 with: environment-file: environment.yml miniforge-variant: Miniforge3 @@ -109,7 +109,7 @@ jobs: - name: Setup Juliaup if: matrix.include-rms == 'with RMS' - uses: julia-actions/install-juliaup@v2 + uses: julia-actions/install-juliaup@v3 with: channel: '1.10' @@ -148,7 +148,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Miniforge Python 3.9 - uses: conda-incubator/setup-miniconda@v3 + uses: conda-incubator/setup-miniconda@v4 with: environment-file: environment.yml miniforge-variant: Miniforge3 @@ -179,7 +179,7 @@ jobs: conda create --name rmg_env_without_rms -f environment.yml - name: Setup Juliaup - uses: julia-actions/install-juliaup@v2 + uses: julia-actions/install-juliaup@v3 with: channel: '1.10' diff --git a/.github/workflows/conda_build.yml b/.github/workflows/conda_build.yml index 9ec44a364e..6918d7567b 100644 --- a/.github/workflows/conda_build.yml +++ b/.github/workflows/conda_build.yml @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v6 - name: Setup Miniforge - uses: conda-incubator/setup-miniconda@v3 + uses: conda-incubator/setup-miniconda@v4 with: miniforge-variant: Miniforge3 miniforge-version: latest diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index cf46942b94..df01daf9e8 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,7 +28,7 @@ jobs: fetch-depth: 0 - name: Setup Miniforge Python 3.11 - uses: conda-incubator/setup-miniconda@v3 + uses: conda-incubator/setup-miniconda@v4 with: environment-file: environment.yml miniforge-variant: Miniforge3 From 3ae660b5a559490c7d259e959ef56119c1f44546 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 14 May 2026 17:35:54 +0000 Subject: [PATCH 2/2] Upgrade remaining CI actions to latest major versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also upgrade the following actions across all workflow files, checking each for breaking changes and adapting the call sites where needed: - docker/setup-qemu-action v3 → v4 (Node.js 24, no API changes) - docker/setup-buildx-action v3 → v4 (Node.js 24, removes deprecated inputs/outputs that we don't use) - docker/login-action v3 → v4 (Node.js 24, no API changes) - docker/build-push-action v6 → v7 (Node.js 24, removes DOCKER_BUILD_* env vars we don't use) - actions/upload-artifact v4 → v7 (Node.js 24, adds direct-upload feature; no interface changes affecting our usage) - actions/download-artifact v4 → v8 (v5 breaking change only affects by-ID downloads; we download by name so it is safe) - actions/github-script v8 → v9 (breaking change is require('@actions/ github') no longer works; we only use the injected github.rest client and Node built-in require('fs'), both of which still work) - thollander/actions-comment-pull-request v2 → v3 (breaking parameter renames: filePath→file-path, pr_number→pr-number; updated in annotate.yml accordingly) Agent-Logs-Url: https://github.com/ReactionMechanismGenerator/RMG-Py/sessions/a5d5cf7e-139d-41e9-9e56-8a312fbeff41 Co-authored-by: rwest <93807+rwest@users.noreply.github.com> --- .github/workflows/CI.yml | 20 ++++++++++---------- .github/workflows/annotate.yml | 8 ++++---- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ac832c7ece..ac89ad332a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -214,7 +214,7 @@ jobs: # Upload Regression Results as Failed if above step failed - name: Upload Failed Results if: ${{ failure() && steps.regression-execution.conclusion == 'failure' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: failed_regression_results path: | @@ -224,7 +224,7 @@ jobs: - name: Upload Results as Reference # upload the results for scheduled CI (on main) and pushes to main if: ${{ env.REFERENCE_JOB == 'true' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: stable_regression_results path: | @@ -233,7 +233,7 @@ jobs: # Upload Regression Results as Dynamic if Push to non-main Branch - name: Upload Results as Dynamic if: ${{ env.REFERENCE_JOB == 'false' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: dynamic_regression_results path: | @@ -259,7 +259,7 @@ jobs: - name: Retrieve Stable Regression Results if: ${{ env.REFERENCE_JOB == 'false' }} - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: # download stable regression results run-id: ${{ env.CI_RUN_ID }} @@ -391,14 +391,14 @@ jobs: - name: Upload regression summary artifact # the annotate workflow uses this artifact to add a comment to the PR - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 if: ${{ github.event_name == 'pull_request' }} with: name: regression_summary path: summary.txt - name: Upload Comparison Results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: regression_test_comparison_results path: | @@ -423,20 +423,20 @@ jobs: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'ReactionMechanismGenerator/RMG-Py') steps: - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Login to Docker Hub if: github.ref == 'refs/heads/main' && github.repository == 'ReactionMechanismGenerator/RMG-Py' - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build (and Push if on main) - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 env: BUILDKIT_PROGRESS: plain with: diff --git a/.github/workflows/annotate.yml b/.github/workflows/annotate.yml index 027efe5450..13acf588ee 100644 --- a/.github/workflows/annotate.yml +++ b/.github/workflows/annotate.yml @@ -21,7 +21,7 @@ jobs: steps: - run: echo 'The triggering workflow passed' - name: 'Download regression_summary artifact' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({ @@ -51,10 +51,10 @@ jobs: sed -i '1d' summary.txt - name: Write summary to pull request as a comment - uses: thollander/actions-comment-pull-request@v2 + uses: thollander/actions-comment-pull-request@v3 with: - filePath: summary.txt - pr_number: ${{ env.PR_NUMBER }} + file-path: summary.txt + pr-number: ${{ env.PR_NUMBER }} - name: Report the github.event.workflow_run as json if: ${{ failure() }}