Pārlūkot izejas kodu

CI: Fix permissions

Max Hilbrunner 6 mēneši atpakaļ
vecāks
revīzija
434c5cbb1f

+ 2 - 0
.github/workflows/build_offline_docs.yml

@@ -18,6 +18,8 @@ jobs:
           - master
           - stable
           - 3.6
+    permissions:
+      contents: write
     steps:
       - uses: actions/checkout@v4
         with:

+ 4 - 1
.github/workflows/cherrypick.yml

@@ -28,8 +28,11 @@ jobs:
       COMMIT_HASH: ${{ github.event.pull_request.commits > 1 && github.sha || github.event.pull_request.head.sha }}
       PR_NUMBER: ${{ github.event.number }}
 
-    steps:
+    permissions:
+      contents: write
+      pull-requests: write
 
+    steps:
     - name: Checkout
       uses: actions/checkout@v4
       with:

+ 3 - 0
.github/workflows/sync_class_ref.yml

@@ -22,6 +22,9 @@ jobs:
     runs-on: ubuntu-24.04
     env:
       engine_rev: 'master'
+    permissions:
+      contents: write
+      pull-requests: write
 
     steps:
       - name: Checkout the documentation repository