[BUG] /install-github-app claims `gh` is not authenticated when it is

Resolved 💬 6 comments Opened Sep 17, 2025 by JLCarveth Closed Jan 10, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When I try to setup the Claude Github Action with /install-github-app, the CLI mistakenly warns me that gh is not authenticated:

╭──────────────────────────────────────────────────────────────────────────────────────────╮
│ ⚠ Setup Warnings                                                                         │
│ We found some potential issues, but you can continue anyway                              │
│                                                                                          │
│ GitHub CLI not authenticated                                                             │
│ GitHub CLI does not appear to be authenticated.                                          │
│                                                                                          │
│   • Run: gh auth login                                                                   │
│   • Follow the prompts to authenticate with GitHub                                       │
│   • Or set up authentication using environment variables or other methods                │
│                                                                                          │
│                                                                                          │
│ Press Enter to continue anyway, or Ctrl+C to exit and fix issues                         │
│                                                                                          │
│ You can also try the manual setup steps if needed:                                       │
│ https://github.com/anthropics/claude-code-action/blob/main/docs/setup.md                 │
╰──────────────────────────────────────────────────────────────────────────────────────────╯

gh is very much authenticated:

❯ gh auth status
github.com
✓ Logged in to github.com as JLCarveth (/home/jlcarveth/.config/gh/hosts.yml)
✓ Git operations for github.com configured to use ssh protocol.
✓ Token: gho_************************************
✓ Token scopes: admin:public_key, gist, read:org, repo, workflow

What Should Happen?

Claude should not warn me that gh is unauthenticated when it definitely is authenticated.

Error Messages/Logs

Steps to Reproduce

  1. Run claude
  2. Execute /install-github-app

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

1.0.117 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Windows Terminal

Additional Information

WSL2

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗