From 573c841c75d69227f01813fe424b80593d112db3 Mon Sep 17 00:00:00 2001 From: Salman Muin Kayser Chishti <13schishti@gmail.com> Date: Tue, 16 Dec 2025 11:50:22 +0000 Subject: [PATCH] Upgrade GitHub Actions for Node 24 compatibility --- .github/workflows/pr-validation.yml | 4 ++-- .github/workflows/sync-to-docs.yml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index a85d07d..f38c33c 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -12,10 +12,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: '18' cache: 'npm' diff --git a/.github/workflows/sync-to-docs.yml b/.github/workflows/sync-to-docs.yml index 094acf4..8c0ed5b 100644 --- a/.github/workflows/sync-to-docs.yml +++ b/.github/workflows/sync-to-docs.yml @@ -10,19 +10,19 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout cookbook repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: path: cookbook-repo - name: Checkout docs repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: ${{ secrets.DOCS_REPO_NAME || 'ppl-ai/api-docs' }} token: ${{ secrets.DOCS_REPO_TOKEN }} path: docs-repo - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: '18' cache: 'npm' @@ -83,7 +83,7 @@ jobs: - name: Create deployment comment if: env.CHANGES_MADE == 'true' continue-on-error: true - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | try { @@ -111,7 +111,7 @@ jobs: - name: Report sync failure if: failure() continue-on-error: true - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | try {