From 500fe63e36baa67d0bcab52b5a726a23d65e78aa Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sat, 27 Dec 2025 22:02:51 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"[ci]=20Set=20=E2=80=9Ccontents:=20wri?= =?UTF-8?q?te=E2=80=9D=20permission=20only=20to=20the=20jobs=20that=20need?= =?UTF-8?q?=20it"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit c0f654deea8bc42be11007112f3eff995a955a06. Breaks deploying documentation. --- .github/workflows/crossbuild-mingw.yml | 4 +--- .github/workflows/linux.yml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/crossbuild-mingw.yml b/.github/workflows/crossbuild-mingw.yml index c7e5a5a51..aab8c7db8 100644 --- a/.github/workflows/crossbuild-mingw.yml +++ b/.github/workflows/crossbuild-mingw.yml @@ -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/') diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 8c1e5afb3..f4c223d4c 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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/')