Skip to content

Commit

Permalink
Fix permission issue of release action
Browse files Browse the repository at this point in the history
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 <yadong.qi@intel.com>
  • Loading branch information
YadongQi committed Sep 6, 2024
1 parent 69e41be commit 06debbd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06debbd

Please sign in to comment.