From 26739220809f890acabdae5a3542628f58ab3de3 Mon Sep 17 00:00:00 2001 From: Josh Clifford <37558619+jsclifford@users.noreply.github.com> Date: Thu, 12 Mar 2026 14:39:20 -0600 Subject: [PATCH] DEVO-1214 - Updating to nodejs version 24. --- .github/workflows/reusable-build-and-review-pr.yml | 14 +++++++------- .../reusable-increment-version-on-merge.yml | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/reusable-build-and-review-pr.yml b/.github/workflows/reusable-build-and-review-pr.yml index 6dfc75d..2e247f3 100644 --- a/.github/workflows/reusable-build-and-review-pr.yml +++ b/.github/workflows/reusable-build-and-review-pr.yml @@ -65,7 +65,7 @@ on: description: The version of node to build the action with. required: false type: string - default: '20.x' + default: '24.x' jobs: setup: @@ -76,7 +76,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -141,16 +141,16 @@ jobs: - name: Checkout if: env.HAS_CODE_CHANGES == 'true' - uses: actions/checkout@v4 + uses: actions/checkout@v6 # ----------------------------------- # Check if action has been recompiled # ----------------------------------- - name: If action has build step - Setup Node ${{ inputs.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 if: env.HAS_CODE_CHANGES == 'true' && env.HAS_BUILD_STEP == 'true' with: - node-version: ${{ inputs.node-version }} # Default is 20.x + node-version: ${{ inputs.node-version }} # Default is 24.x - name: If action has build step - Build the action if: env.HAS_CODE_CHANGES == 'true' && env.HAS_BUILD_STEP == 'true' @@ -194,7 +194,7 @@ jobs: - name: Fail the workflow if there are any outstanding changes if: env.HAS_CODE_CHANGES == 'true' && (env.NEEDS_BUILD_COMMIT == 'true' || env.NEEDS_README_COMMIT == 'true') id: summary - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | @@ -262,7 +262,7 @@ jobs: # ---------------------------------------------------- - name: Add comment if contributing guidelines are satisfied if: env.HAS_CODE_CHANGES == 'true' && env.NEEDS_BUILD_COMMIT == 'false' && env.NEEDS_README_COMMIT == 'false' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | diff --git a/.github/workflows/reusable-increment-version-on-merge.yml b/.github/workflows/reusable-increment-version-on-merge.yml index 192871f..ee2c626 100644 --- a/.github/workflows/reusable-increment-version-on-merge.yml +++ b/.github/workflows/reusable-increment-version-on-merge.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Check if merge to default branch id: merge - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const defaultBranch = '${{ inputs.default-branch }}'; @@ -60,7 +60,7 @@ jobs: - name: Checkout if: env.MERGE_TO_MAIN == 'true' - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: If PR is merged to ${{ inputs.default-branch }} - Check for code changes to the action source code if: env.MERGE_TO_MAIN == 'true' @@ -82,7 +82,7 @@ jobs: - name: If PR is merged to ${{ inputs.default-branch }} & PR has source code changes - Checkout if: env.MERGE_TO_MAIN == 'true' && steps.source-code.outputs.HAS_CHANGES == 'true' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0