From 7ff1d49775dda2f032b143dd8c875758953848c4 Mon Sep 17 00:00:00 2001 From: sjim-fortinet Date: Thu, 14 May 2026 17:24:58 +0000 Subject: [PATCH 1/2] fix: bump to Node 24 to clear deprecation warnings Both runner-Node sources in this composite action were producing the "Node.js 20 actions are deprecated" warning starting Sep 2025: - actions/setup-node@v4 (uses node20) - the runtime-rewritten ./../lacework-code-security action with runs.using="node16" (silently upgraded to node20 by the runner) Update both to node24: - setup-node@v4 -> @v6 (v6 uses node24) - runs.using="node16" -> "node24" in the yq mutation - bump installed node-version 18 -> 24 to match the runtime Ref: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ Co-Authored-By: Claude Opus 4.7 (1M context) --- action.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yaml b/action.yaml index 5030c956..f5e3717f 100644 --- a/action.yaml +++ b/action.yaml @@ -68,9 +68,9 @@ runs: if [ -n "$LW_ACCOUNT_NAME" ]; then echo "LW_ACCOUNT=$LW_ACCOUNT_NAME" >> $GITHUB_ENV fi - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: 18 + node-version: 24 - shell: bash run: | rm -rf ../lacework-code-security @@ -78,7 +78,7 @@ runs: cd ../lacework-code-security HUSKY=0 npm install npm run compile - yq -i -o yaml 'del(.runs.steps) | del(.outputs) | .runs.using="node16" | .runs.main="dist/src/index.js"' action.yaml + yq -i -o yaml 'del(.runs.steps) | del(.outputs) | .runs.using="node24" | .runs.main="dist/src/index.js"' action.yaml - id: run-analysis uses: './../lacework-code-security' with: From cbb7939f1a04aa26ddff85fd944d2f07b20a22a9 Mon Sep 17 00:00:00 2001 From: Teodor-Ioan Baltoi Date: Fri, 15 May 2026 12:15:51 +0100 Subject: [PATCH 2/2] update integration test deprecation --- .github/workflows/integration-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 981a5234..4a0e00ad 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -20,9 +20,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: "temurin" java-version: "17"