diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d5cf07927f6b04accac53db4b5d6375826a1845e..aeb06c10de97fae1fae9e415a47c67af03921326 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -196,9 +196,6 @@ jobs:
     runs-on: ubuntu-latest
     timeout-minutes: 15
 
-    permissions:
-      actions: write
-
     steps:
       - name: Checkout code
         uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -234,9 +231,6 @@ jobs:
     runs-on: ubuntu-latest
     timeout-minutes: 7
 
-    permissions:
-      actions: write
-
     steps:
       - name: Checkout code
         uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -270,7 +264,7 @@ jobs:
         uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
         with:
           path: .cache/prettier
-          key: prettier-main-${{ github.run_id }}-${{ github.run_attempt }}
+          key: prettier-cache-${{ github.run_id }}-${{ github.run_attempt }}
 
   lint-docs:
     needs: