From 21fb8e41212841edd4da4b5ecd59a1bdb268d224 Mon Sep 17 00:00:00 2001 From: VRonin Date: Thu, 7 Mar 2024 18:17:55 +0000 Subject: [PATCH] Fixed release permissions --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d51f631..74ad343 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,8 @@ jobs: release: name: ${{ matrix.platforms.friendly_name }} Qt ${{ matrix.qt_version.qt_ver }} Release runs-on: ${{ matrix.platforms.os }} + permissions: + contents: write strategy: max-parallel: 1 matrix: @@ -86,6 +88,8 @@ jobs: createdocs: name: Create docs package and publish to gh-pages runs-on: ubuntu-latest + permissions: + contents: write needs: release steps: - name: Install Qt @@ -124,6 +128,8 @@ jobs: removedraft: name: Remove Draft from Release runs-on: ubuntu-latest + permissions: + contents: write needs: [release, createdocs] steps: - name: Publish Release