From 0ad5f88180e98f0f94c15ecfb74926fbb676947b Mon Sep 17 00:00:00 2001 From: Kevin Adams Date: Mon, 25 May 2026 08:28:41 -0400 Subject: [PATCH] ci: opt in to Node.js 24 runner and pin checkout to v4.3.1 Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 env var to suppress deprecation warnings ahead of GitHub's June 2nd forced cutover. Pin actions/checkout to v4.3.1 (latest v4 patch). Upload/download-artifact left at @v4 pending a separate audit of the v7/v8 breaking changes. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b1e09ae..43a2c2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,7 @@ on: env: PACKAGE_NAME: freenas-proxmox + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' # Cancel in-flight runs for the same branch on new push concurrency: @@ -21,7 +22,7 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.3.1 - name: Install lint tools run: | @@ -73,7 +74,7 @@ jobs: is_release: ${{ steps.vars.outputs.is_release }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.3.1 with: fetch-depth: 0 @@ -192,7 +193,7 @@ jobs: needs: build steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.3.1 - name: Run Trivy (repo scan — secrets + misconfig) uses: aquasecurity/trivy-action@master @@ -233,7 +234,7 @@ jobs: if: github.event_name == 'push' && needs.build.outputs.channel != 'none' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.3.1 - name: Download built package uses: actions/download-artifact@v4