Skip to content

Commit 6a5200a

Browse files
committed
fix(ci): disable finalize job in release workflow
The secrets context is not available in job-level `if` conditions, causing workflow_dispatch to fail with "Unrecognized named-value: secrets". Disable the finalize job until the release app secrets are configured in the fork.
1 parent 3ad2958 commit 6a5200a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,9 @@ jobs:
277277
finalize:
278278
name: Finalize release
279279
needs: [preflight, release]
280-
if: ${{ secrets.RELEASE_APP_ID != '' }}
280+
# secrets context is not available in job-level `if`. Use an env/output
281+
# from a prior job, or simply always run and let the token step fail-fast.
282+
if: false # Fork: enable once RELEASE_APP_ID secret is configured
281283
runs-on: ubuntu-24.04
282284
steps:
283285
- id: app_token

0 commit comments

Comments
 (0)