Skip to content

Add github config file importer - #74

Merged
SimonBarendse merged 5 commits into
mainfrom
github_importers
Dec 13, 2022
Merged

SimonBarendse merged 5 commits into
mainfrom
github_importers

Conversation

@volodymyrZotov

@volodymyrZotov volodymyrZotov commented Dec 7, 2022 •

Copy link
Copy Markdown
Contributor

This PR adds an ability to import credentials from GitHub CLI config file.

Config file location is ~/.config/gh/hosts.yml

The plugin can import only PATs with ghp_ prefix. Support for other token types will be added later.

Comment thread plugins/github/personal_access_token.go Resolved
Comment thread plugins/github/personal_access_token.go Resolved
Comment thread plugins/github/test-fixtures/hosts.yml Resolved
@SimonBarendse
SimonBarendse merged commit 339be96 into main Dec 13, 2022
@SimonBarendse
SimonBarendse deleted the github_importers branch December 13, 2022 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants