From a2f4ed8a23d512d7272a8ae7fe92fb3c29cd1ffa Mon Sep 17 00:00:00 2001 From: Daniel Himmelstein Date: Sat, 17 Jan 2026 21:42:05 -0500 Subject: [PATCH] upgrade github actions reusable workflows --- .github/workflows/ai-revision.yaml | 6 +++--- .github/workflows/manubot.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ai-revision.yaml b/.github/workflows/ai-revision.yaml index c15bf8ff..84da7798 100644 --- a/.github/workflows/ai-revision.yaml +++ b/.github/workflows/ai-revision.yaml @@ -40,11 +40,11 @@ jobs: shell: bash --login {0} steps: - name: Checkout Repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ inputs.branch }} - name: Install environment - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.11' - name: Install Manubot AI revision dependencies @@ -64,7 +64,7 @@ jobs: # https://github.com/manubot/manubot-ai-editor/blob/main/libs/manubot_ai_editor/env_vars.py run: manubot ai-revision --content-directory content/ --config-directory ci/ - name: Create Pull Request - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@v8 with: commit-message: 'revise using AI model\n\nUsing the OpenAI model ${{ inputs.model }}' title: 'AI-based revision using ${{ inputs.model }}' diff --git a/.github/workflows/manubot.yaml b/.github/workflows/manubot.yaml index ec6ba410..e7d43357 100644 --- a/.github/workflows/manubot.yaml +++ b/.github/workflows/manubot.yaml @@ -50,7 +50,7 @@ jobs: shell: bash --login {0} steps: - name: Checkout Repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: # fetch entire commit history to support get_rootstock_commit fetch-depth: 0 @@ -72,7 +72,7 @@ jobs: echo "DEFAULT_BRANCH_REF=refs/heads/$DEFAULT_BRANCH" >> $GITHUB_ENV echo "DEFAULT_BRANCH=$DEFAULT_BRANCH" - name: Cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ci/cache key: ci-cache-${{ github.ref }} @@ -90,7 +90,7 @@ jobs: - name: Build Manuscript run: bash build/build.sh - name: Upload Artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: manuscript-${{ github.run_id }}-${{ env.TRIGGERING_SHA_7 }} path: output