Revert "[ci] Set “contents: write” permission only to the jobs that need it"

This reverts commit c0f654deea.

Breaks deploying documentation.
This commit is contained in:
Khaled Hosny committed 2025-12-27 22:02:51 +02:00
1 parent 5a31dd02f0
commit 500fe63e36
2 files changed
+2 -6

No files matched your search

+1 -3
View File
@@ -8,7 +8,7 @@ on:
branches: [ main ]
permissions:
contents: read
contents: write
jobs:
build:
@@ -56,8 +56,6 @@ jobs:
release:
name: Create and populate release
permissions:
contents: write
needs: build
runs-on: ubuntu-24.04
if: contains(github.ref, 'refs/tags/')
+1 -3
View File
@@ -8,7 +8,7 @@ on:
branches: [ main ]
permissions:
contents: read
contents: write
jobs:
build:
@@ -78,8 +78,6 @@ jobs:
release:
name: Create and populate release
permissions:
contents: write
needs: build
runs-on: ubuntu-24.04
if: contains(github.ref, 'refs/tags/')