Repository navigation
CI: auto-bump mouse and keyboard protocols hourly - #34
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 58 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — The workflows automatically commit protocol dependency updates after rebuilding the embedded bundle. Their effects remain confined to repository dependencies; customer releases still require a separate tag or manual release action. Notes:
You can add or adjust custom eligibility rules. Learn more. |
Adds
update-mouse-protocol.ymlandupdate-keyboard-protocol.yml, modelled on the openmouse web repo. Each hourly (and on demand) compares its package with the newest npm release, installs it exact, rebuilds the embedded bundle withnode gpui/js/build.mjs, and only then commitspackage.jsonandpackage-lock.jsonto main. They share a concurrency group so pushes cannot race.Also adds
@openmouse/keyboard-protocol1.6.1 (the current published release) as a dependency so the keyboard workflow has something to bump.Main currently depends on the mouse protocol git snapshot, so the first mouse run switches it to the published version, as #29 did.
Main must allow the Actions bot to push.
Note
Add hourly CI workflows to auto-bump mouse and keyboard protocols
@openmouse/protocol/@openmouse/keyboard-protocolversion against the latest npm release. If newer, it installs the exact latest version, verifies no other tracked files changed, builds the embedded driver bundle, then commits and pushespackage.jsonandpackage-lock.json.@openmouse/keyboard-protocolat version 1.6.1 topackage.json.Macroscope summarized c5f4508.