Skip to content

Commit

Permalink
fix(github-auth): add permission for ssh_signing_key in gh auth login
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed May 27, 2023
1 parent 63c064b commit ddd519f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chezmoi/dot_local/bin/executable_github-auth.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if [[ "${INTERACTIVE}" == "true" ]]; then
log_info "Logging in to GitHub"
log_info "If you choose to login with a web browser and the device page is not displayed, please open the following URL in your browser: "
log_info " > /~https://github.com/login/device"
c gh auth login -h github.com -s admin:public_key -s write:gpg_key
c gh auth login -h github.com -s admin:public_key -s write:gpg_key -s admin:ssh_signing_key
else
if [[ -n "${GITHUB_TOKEN}" ]]; then
log_info "Logging in to GitHub"
Expand Down

0 comments on commit ddd519f

Please sign in to comment.