This is a GitHub LaunchBar action that can search various parts of GitHub based on your input.
At any point you can either hit enter to navigate into available options, or
hit ⌘
+ enter
to go directly to the corresponding GitHub page.
At any time, paste a commit SHA into LaunchBar and hit tab
. Start typing
"github" and you should see the action appear, hit enter
. Once complete, the
action will bring you to the pull request that introduced the commit. If the
commit is associated with multiple pull requests, they will be displayed in a
list.
At any time, paste a GitHub link into LaunchBar and hit tab
. Start typing
"github" and you should see the action appear, hit enter
. Once complete, the
action will ask you if you want to shorten the link, hit enter
and the
shortened link will be copied to your clipboard.
Installing should be as simple as cloning this repository to your LaunchBar Actions folder:
mkdir -p ~/Library/Application\ Support/LaunchBar/Actions/
git clone https://github.com/bswinnerton/github.lbaction ~/Library/Application\ Support/LaunchBar/Actions/github.lbaction
You'll need to get an access token from GitHub if you'd like to use any of the
features that return data directly in LaunchBar. To do so, go to
https://github.com/settings/tokens/new and create a new token with the repo
scope selected. Take the token and entering the GitHub action and typing
!set-token <token>
.
This action can be updated by pulling the latest changes from Git.
cd ~/Library/Application\ Support/LaunchBar/Actions/github.lbaction
git pull origin master