OpenCode: migrate the Copilot authentication variable
Summary As of November 2026, OpenCode v2.4.0 stops reading GITHUB_TOKEN for GitHub Copilot. OAuth device sign-in is unchanged. If you used the old environment variable for Copilot, switch to COPILOT_GITHUB_TOKEN
Not for GitHub Actions environment configuration.
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread opencode-migrate-copilot-authentication-env-var and help me try it