Skip to content

Commit 44152ff

Browse files
author
joseph
committed
fix: Add contents:write permission for release uploads
- GitHub Actions needs explicit contents:write permission to upload assets - Fixes 403 Forbidden error when uploading AppImage to releases - Both workflow files updated with permissions block
1 parent 4f97104 commit 44152ff

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/multi-format-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- 'v*.*.*'
77
workflow_dispatch:
88

9+
permissions:
10+
contents: write # Required for uploading release assets
11+
912
jobs:
1013
build:
1114
strategy:

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- 'v*.*.*' # Triggers on version tags like v1.0.0
77
workflow_dispatch: # Allows manual trigger
88

9+
permissions:
10+
contents: write # Required for uploading release assets
11+
912
jobs:
1013
build-appimage:
1114
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)