Skip to content

Commit 4a21aea

Browse files
0.6.0
1 parent 79b26ab commit 4a21aea

File tree

4 files changed

+28
-25
lines changed

4 files changed

+28
-25
lines changed

.changeset/configurable-gh-auth-login.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# gh-setup-git-identity
22

3+
## 0.6.0
4+
5+
### Minor Changes
6+
7+
- 1094f06: feat: fully configurable support of `gh auth login`
8+
9+
Added configurable options for GitHub authentication that mirror all `gh auth login` flags:
10+
11+
- `--hostname`: GitHub hostname (default: `github.com`) - enables GitHub Enterprise support
12+
- `--scopes` / `-s`: Authentication scopes (default: `repo,workflow,user,read:org,gist`)
13+
- `--git-protocol` / `-p`: Git protocol - `ssh` or `https` (default: `https`)
14+
- `--web` / `-w`: Open browser to authenticate (default: `true`)
15+
- `--with-token`: Read token from stdin for non-interactive authentication
16+
- `--skip-ssh-key`: Skip SSH key generation/upload prompt
17+
- `--insecure-storage`: Store credentials in plain text instead of credential store
18+
- `--clipboard`: Copy OAuth code to clipboard
19+
20+
These options can be configured via:
21+
22+
- CLI flags
23+
- Environment variables (`GH_AUTH_HOSTNAME`, `GH_AUTH_SCOPES`, etc.)
24+
- `.lenv` configuration file
25+
26+
The library also exports `defaultAuthOptions` object with all default values.
27+
328
## 0.5.0
429

530
### Minor Changes

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gh-setup-git-identity",
3-
"version": "0.5.0",
3+
"version": "0.6.0",
44
"description": "A tool to setup git identity based on current gh user",
55
"type": "module",
66
"main": "src/index.js",

0 commit comments

Comments
 (0)