Repository navigation
Update github extension - #22384
Update github extension#22384
Conversation
- style: standardize capitalization in UI text - Add checkout functionality for pull requests - Initial commit
|
Thank you for your contribution! 🎉 🔔 @thomaslombart @unnamedd @tonka3000 @khasbilegt @pernielsentikaer @loxygenK @oilbeater @LunaticMuch @aeorge @daquinoaldo @peppy @aeither @marcotf @qeude @nesl247 @xilopaint @antonengelhardt @bangerang @wottpal @LitoMore @d-mitrofanov-v @j3lte @jfkisafk @vlasischar @JavaLangRuntimeException @shyakadavis @sushichan044 @luarmr @nicolas-marien @ionTea @ridemountainpig @kud you might want to have a look. You can use this guide to learn how to check out the Pull Request locally in order to test it. You can expect an initial review within five business days. |
- improve: close window after opening PR directory - Improve pull request checkout sequence for better reliability
commented
Oct 24, 2025
|
Is the CHANGELOG something I need to manually update? |
left a comment
There was a problem hiding this comment.
Greptile Overview
Greptile Summary
Adds a "Check out PR" action to the GitHub extension's My Pull Requests command, enabling developers to clone repositories and checkout PR branches locally with a single action. The feature handles both new clones and existing repositories.
- Integrates new checkout action into PR actions panel with
Cmd+Shift+Oshortcut - Uses existing
buildCloneCommandhelper from repository utilities for consistent clone behavior - Implements directory picker with persistent storage for user convenience
The implementation has a critical issue with hardcoded remote name assumptions that will cause failures for repositories with non-standard remote configurations or pull requests from forks.
Confidence Score: 2/5
- This PR has a critical logic bug that will cause failures in common scenarios
- The hardcoded 'origin' remote name assumption will fail for repositories with different remote names or PRs from forks. This is a common scenario that needs to be addressed before merging.
- Pay close attention to CheckoutPullRequestForm.tsx - the git remote handling needs to be fixed
Important Files Changed
File Analysis
| Filename | Score | Overview |
|---|---|---|
| extensions/github/src/components/CheckoutPullRequestForm.tsx | 2/5 | Adds PR checkout form with git operations; hardcoded remote name will fail for repos with non-standard remotes or forks |
| extensions/github/src/components/PullRequestActions.tsx | 5/5 | Integrates checkout action into PR actions panel with appropriate shortcut and icon |
| extensions/github/package.json | 5/5 | Adds contributor to package.json |
3 files reviewed, 1 comment
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
commented
Oct 24, 2025
Yes. |
- Merge branch \'contributions/merge-1761312862570\' into feat/checkout-pr-branch - Pull contributions - add checkout PR action to my pull requests view
commented
Oct 30, 2025
|
Published to the Raycast Store: |
commented
Oct 30, 2025
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
Description
Adds a "Check out PR" action to the My Pull Requests command, allowing developers to quickly clone and checkout pull request branches locally.
When selecting a PR and pressing the actions shortcut/button, users can choose a directory to clone the repository. If the repository already exists, it will fetch the PR branch, reset hard, and switch to it. After checkout, the folder is revealed in Finder for immediate access.
Screencast
Screen.Recording.2025-10-24.at.11.55.12.mov
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder