From 1698f51ff732f976c0bfb1a0909f5d259c9a258d Mon Sep 17 00:00:00 2001 From: YadongQi Date: Fri, 23 Aug 2024 08:16:10 +0800 Subject: [PATCH] Fix permission issue of release action Change write-all to read-all from top level. Add contents:write for build_ubuntu_gcc which required by action-gh-release. Signed-off-by: YadongQi --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7df22cb..6cef457 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,10 +3,11 @@ name: VM Manager Release on: release: types: [published, edited] -permissions: write-all +permissions: read-all jobs: build_ubuntu_gcc: - + permissions: + contents: write runs-on: ${{ matrix.os }} strategy: fail-fast: false