From 87848b41aa72522029ba01c9c146bd91fc851730 Mon Sep 17 00:00:00 2001 From: Hector Martinez Date: Mon, 17 Aug 2026 11:52:10 +0200 Subject: [PATCH] fix(#6178): bump actions/cache to v6.1.0, add actions:write to harness-dispatch The harness-dispatch job pinned actions/cache at v4.3.0 (Node.js 20), which produces deprecation warnings on every dispatch. Bumping to v6.1.0 targets Node.js 24. The job also lacked actions:write permission, so cache saves failed with "token has no writable scopes"; adding the permission fixes that. Co-Authored-By: Claude Opus 4.6 Signed-off-by: Hector Martinez --- .github/workflows/reusable-dispatch.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-dispatch.yml b/.github/workflows/reusable-dispatch.yml index f739e8833f..4fa6aec331 100644 --- a/.github/workflows/reusable-dispatch.yml +++ b/.github/workflows/reusable-dispatch.yml @@ -1371,6 +1371,7 @@ jobs: name: Harness dispatch runs-on: ${{ inputs.runner_image }} permissions: + actions: write contents: read pull-requests: read outputs: @@ -1433,7 +1434,7 @@ jobs: - name: Restore fullsend CLI cache if: steps.triggers.outputs.has_triggers == 'true' id: cli-cache - uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ${{ runner.temp }}/fullsend-cache key: fullsend-cli-${{ steps.mode.outputs.mode }}-${{ job.workflow_sha }} @@ -1488,7 +1489,7 @@ jobs: - name: Save fullsend CLI cache if: steps.triggers.outputs.has_triggers == 'true' && steps.cli-cache.outputs.cache-hit != 'true' - uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ${{ runner.temp }}/fullsend-cache key: fullsend-cli-${{ steps.mode.outputs.mode }}-${{ job.workflow_sha }}