@@ -176,10 +176,10 @@ jobs:
176176 needs : [bump_version, create_prerelease]
177177 if : (inputs.create-release && !inputs.dry-run)
178178 permissions :
179- id-token : write
180- attestations : write
181- contents : write
182- actions : read
179+ id-token : write # needed for OIDC token for attestation
180+ attestations : write # needed to create build attestations
181+ contents : write # needed to upload build artifacts
182+ actions : read # needed to download workflow artifacts
183183 name : 🔨 Build Android
184184 uses : ./.github/workflows/android-reusable.yml
185185 secrets : inherit
@@ -190,10 +190,10 @@ jobs:
190190 needs : [bump_version, create_prerelease]
191191 if : (inputs.create-release && !inputs.dry-run)
192192 permissions :
193- id-token : write
194- attestations : write
195- contents : write
196- actions : read
193+ id-token : write # needed for OIDC token for attestation
194+ attestations : write # needed to create build attestations
195+ contents : write # needed to upload build artifacts
196+ actions : read # needed to download workflow artifacts
197197 name : 🔨 Build Desktop
198198 uses : ./.github/workflows/desktop-reusable.yml
199199 secrets : inherit
@@ -204,10 +204,10 @@ jobs:
204204 needs : [bump_version, create_prerelease, source_checksums]
205205 if : (inputs.create-release && !inputs.dry-run)
206206 permissions :
207- id-token : write
208- attestations : write
209- contents : write
210- actions : read
207+ id-token : write # needed for OIDC token for attestation
208+ attestations : write # needed to create build attestations
209+ contents : write # needed to upload build artifacts
210+ actions : read # needed to download workflow artifacts
211211 name : 🔨 Build Void
212212 uses : ./.github/workflows/void-reusable.yml
213213 secrets : inherit
0 commit comments