Title: ci(desktop): merge release PR directly when mergeable, else auto-merge by DragonnZhang · Pull Request #34 · modelstudioai/openwork · GitHub
Open Graph Title: ci(desktop): merge release PR directly when mergeable, else auto-merge by DragonnZhang · Pull Request #34 · modelstudioai/openwork
X Title: ci(desktop): merge release PR directly when mergeable, else auto-merge by DragonnZhang · Pull Request #34 · modelstudioai/openwork
Description: What The desktop release workflow's version-bump PR step (Enable auto-merge) currently always uses gh pr merge --auto, which waits on GitHub's auto-merge even when the PR is already mergeable. This change makes it check the PR's mergeStateStatus first: CLEAN → squash-merge immediately (gh pr merge without --auto) otherwise → fall back to enabling auto-merge (gh pr merge --auto) Shared merge args (--squash, --delete-branch, --subject) are factored into a merge_args array to avoid duplication. The step is renamed to Merge or enable auto-merge. Why Lets the release version PR land right away when it's already green, instead of always routing through auto-merge. 🤖 Generated with Claude Code
Open Graph Description: What The desktop release workflow's version-bump PR step (Enable auto-merge) currently always uses gh pr merge --auto, which waits on GitHub's auto-merge even when the PR is already mergeab...
X Description: What The desktop release workflow's version-bump PR step (Enable auto-merge) currently always uses gh pr merge --auto, which waits on GitHub's auto-merge even when the PR is already...
Opengraph URL: https://github.com/modelstudioai/openwork/pull/34
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:884666ef-d716-d936-eb44-dffd0ec2cccc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8862:1AF501:D604CC:11A89B0:6A519607 |
| html-safe-nonce | 797547343ede15cb961a2b8b1f761ca9a4d22a76bbec6a6d6f8c3750b8038201 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODYyOjFBRjUwMTpENjA0Q0M6MTFBODlCMDo2QTUxOTYwNyIsInZpc2l0b3JfaWQiOiIzMDA2NTE3NTExNzQxMDg1MTkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 70f4d8a6f1c80b998819521312ef7922455eca578cb1a1d3c4f9bd055bb7452b |
| hovercard-subject-tag | pull_request:3877592012 |
| 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/34/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 | What The desktop release workflow's version-bump PR step (Enable auto-merge) currently always uses gh pr merge --auto, which waits on GitHub's auto-merge even when the PR is already mergeab... |
| 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 |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width