Title: Prevent desktop release build jobs from auto-publishing by DragonnZhang · Pull Request #16 · modelstudioai/openwork · GitHub
Open Graph Title: Prevent desktop release build jobs from auto-publishing by DragonnZhang · Pull Request #16 · modelstudioai/openwork
X Title: Prevent desktop release build jobs from auto-publishing by DragonnZhang · Pull Request #16 · modelstudioai/openwork
Description: Summary Add explicit no-publish desktop dist scripts that pass --publish never to electron-builder. Update the desktop release build matrix to use the no-publish scripts. Keep GitHub Release creation and asset upload centralized in the workflow's publish job. Root Cause After desktop auto-update metadata added a GitHub publish config, electron-builder detected CI and defaulted to onTagOrDraft. The macOS, Windows, and Linux build jobs then tried to publish artifacts themselves, but those jobs do not set GH_TOKEN, so all three failed with: GitHub Personal Access Token is not set, neither programmatically, nor using env "GH_TOKEN" Validation git diff --check Parsed .github/workflows/desktop-release.yml with js-yaml Verified no-publish scripts exist in package.json Verified electron-builder supports --publish never bun run electron:builder-config Notes --publish never still lets electron-builder generate updater metadata from the publish config; it only disables uploader creation. The workflow's dedicated publish job remains responsible for Release creation/upload, including dry-run, draft, prerelease, and replace behavior.
Open Graph Description: Summary Add explicit no-publish desktop dist scripts that pass --publish never to electron-builder. Update the desktop release build matrix to use the no-publish scripts. Keep GitHub Release creat...
X Description: Summary Add explicit no-publish desktop dist scripts that pass --publish never to electron-builder. Update the desktop release build matrix to use the no-publish scripts. Keep GitHub Release creat...
Opengraph URL: https://github.com/modelstudioai/openwork/pull/16
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:34501033-b7ca-2b9f-8e22-7baba619ffb0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ACF8:2C3273:485C7E:60E60A:6A5195E7 |
| html-safe-nonce | 6223396d7ac5dec0bbc57c7571595f715179a5cc13c58245458043a351fbd6fd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0Y4OjJDMzI3Mzo0ODVDN0U6NjBFNjBBOjZBNTE5NUU3IiwidmlzaXRvcl9pZCI6IjIzMzQyODM5MTUwNjQzNTAxODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f5f424def4f1b230c764a66162450059038e8cd1c819a2daf537b69c2ca6ffa0 |
| hovercard-subject-tag | pull_request:3825132083 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/modelstudioai/openwork/pull/16/files |
| twitter:image | https://avatars.githubusercontent.com/u/52599892?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/52599892?s=400&v=4 |
| og:image:alt | Summary Add explicit no-publish desktop dist scripts that pass --publish never to electron-builder. Update the desktop release build matrix to use the no-publish scripts. Keep GitHub Release creat... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/modelstudioai/openwork git https://github.com/modelstudioai/openwork.git |
| octolytics-dimension-user_id | 283556804 |
| octolytics-dimension-user_login | modelstudioai |
| octolytics-dimension-repository_id | 1256697754 |
| octolytics-dimension-repository_nwo | modelstudioai/openwork |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1256697754 |
| octolytics-dimension-repository_network_root_nwo | modelstudioai/openwork |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width