Skip to content

Select user #590

@mg

Description

@mg

In my ~/.config/gh/hosts.yml I have two hosts defined, one for my personal github.com account and one for my corporate internal github account.

I have this .gh-dash.yml in my project folder

prSections:
  - title: "Open PRs in web/app"
    repos:
      - name: web/app
        hostname: git.lais.net

defaults:
  prsLimit: 20
  issuesLimit: 0

Because my personal github user is specificed in hots.yml before my corproate user, gh-dash automatically tries to use that user to query against git.lais.net and fails to return any results (it displays my personal username in the bottom bar). If I remove my personal github user from hosts, gh-dash now uses my corporate user and returns results.

It would be great if I could specify in .gh-dash.yml what user gh-dash should use in this project. Or is there any other method for me to start gh-dash and tell it to use a specific user without changing my hosts.yml file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions