Skip to content

Commit

Permalink
ci: fix missing permissions for uploading release assets (#1330)
Browse files Browse the repository at this point in the history
  • Loading branch information
askalski85 authored Jan 5, 2024
1 parent d3d0cd5 commit 9a89afe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}

linux:
permissions:
contents: write
runs-on: ubuntu-latest
needs: prepare
strategy:
Expand Down Expand Up @@ -87,6 +89,8 @@ jobs:
asset_content_type: application/gzip

macos:
permissions:
contents: write
runs-on: macos-latest
needs: prepare
steps:
Expand Down Expand Up @@ -121,6 +125,8 @@ jobs:
asset_content_type: application/octet-stream

windows:
permissions:
contents: write
runs-on: windows-latest
needs: prepare
env:
Expand Down

0 comments on commit 9a89afe

Please sign in to comment.