Skip to content

Commit

Permalink
remove permission for write contents in build action
Browse files Browse the repository at this point in the history
Signed-off-by: jiaxiao zhou <[email protected]>
  • Loading branch information
Mossaka committed Apr 3, 2024
1 parent 50df349 commit 2c0eaa5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/action-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ on:
jobs:
build-sign-upload:
permissions:
contents: write
id-token: write
name: build for ${{ inputs.slug }}
runs-on: ${{ inputs.os }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
build-ubuntu:
name: ${{ matrix.runtime }}
permissions:
contents: write
id-token: write
strategy:
matrix:
Expand All @@ -59,7 +58,6 @@ jobs:
build-windows:
name: ${{ matrix.runtime }}
permissions:
contents: write
id-token: write
strategy:
matrix:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ jobs:
build-and-sign:
permissions:
id-token: write
contents: write
needs:
- pre-release
strategy:
Expand Down

0 comments on commit 2c0eaa5

Please sign in to comment.