diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 3f2c2a9..a26cd3e 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -9,8 +9,10 @@ jobs:
   release:
     runs-on: ubuntu-latest
     permissions:
-      # IMPORTANT: this permission is mandatory for trusted publishing
+      # this permission is mandatory for trusted publishing
       id-token: write
+      # this permission is needed for commiting to pages branch
+      pages: write
     steps:
       - uses: actions/checkout@v4
       - name: Install uv