github-workflow 2.6.0

GitHub Alfred Workflow to quickly search and open repositories.
Documentation

Github Workflow

Github Alfred Workflow to cache and search repositories

Requirements

sqlite - cache and config values are stored in an sqlite database Github Access Token - for Github API access

Installation

  1. Download github-workflow.alfredworkflow from the repo's releases section
  2. Install in Alfred (double-click)

Setup

  1. Have your GitHub Access Token ready, if you don't have one you can generate here https://github.com/settings/tokens; you may have to ensure it is authorized for SSO.
  2. In Alfred set the API_KEY environment variable to your GitHub API key/Access Token. Alfred Settings
    • Multiple accounts (e.g. a personal user and a separate enterprise user) are supported as a comma-separated list; repositories from all accounts are cached together: ghp_personal,github_pat_work
    • For GitHub Enterprise Server append @<host> to the token: ghp_personal,ghp_work@ghe.example.com
    • Each token must be SSO-authorized for the organizations it should see.
  3. In Alfred type gh , navigate to refresh, hit ENTER to cache/index your GitHub repositories. This may take some time depending on the number of organizations and repositories you have access to, there will be a notification popup once complete.

Usage

  • gh <reponame> which queries Github repositories