Remove COPILOT_CLI_TOKEN environment variable support#6030
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
💥 WHOOSH! Smoke Claude springs into action on this pull request! [Panel 1 begins...] |
|
📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing... |
|
📰 BREAKING: Smoke Copilot Playwright is now investigating this pull request. Sources say the story is developing... |
|
🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰 https://github.com/githubnext/gh-aw/tree/copilot/remove-copilot-cli-token |
|
🔮 The ancient spirits stir... Smoke Codex awakens to divine this pull request... |
Smoke Test ResultsLast 2 Merged PRs:
Tests:
Status: PASS
|
|
Smoke Test: Copilot Engine - PASS Last 2 merged PRs:
✅ GitHub MCP - Last 2 PRs retrieved Overall: PASS
|
Smoke Test Results (Run 20102107816)✅ Playwright MCP: Page title verified - "GitHub · Change is constant. GitHub keeps you ahead. · GitHub" Overall Status: FAIL (1/3 tests failed)
|
Smoke Test ResultsPRs: ❌ (safeinputs-gh tool HTTPS error) Status: ❌ FAIL - Safe input tools have configuration issues 📰🔥📋 https://github.com/githubnext/gh-aw/actions/runs/20102107761 fer issue #6030 🗺️ |
|
Last merged PRs: Add human-friendly schedule format parser for cron expressions with shorthand, duration, UTC offset, and 12-hour time support; Update go-fan workflow to prioritize recently updated dependencies in round-robin selection
|
Removes support for the
COPILOT_CLI_TOKENenvironment variable. No backward compatibility maintained.Changes
Code removal:
COPILOT_CLI_TOKENfrom Copilot engine secrets listCOPILOT_CLI_TOKENfallback from token precedence chain ingetEffectiveCopilotGitHubToken()COPILOT_CLI_TOKENcase handling in trial supportToken precedence (before → after):
Documentation:
docs/reference/tokens.mdanddocs/reference/engines.mdCOPILOT_CLI_TOKENas "Removed in v0.26+"copilot-cli/SKILL.md,gh-agent-task/SKILL.md)Tests:
COPILOT_CLI_TOKENtest casesImpact
Workflows using
COPILOT_CLI_TOKENwill fail authentication. Users must migrate toCOPILOT_GITHUB_TOKEN:Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/user/usr/bin/gh gh api user --jq .login oad-artifact.git ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet e/git se 1644637/b062/vetapi .cfg e/git -1 xterm-color om/org1/repo1 /home/REDACTED/.dotnet/tools/git it/ref/tags/v5(http block)/usr/bin/gh gh api user --jq .login 74/add_comment.js --jq 4007133/b001/importcfg.link se SgKyEYQt-p7NN/8Smcp ache/go/1.25.0/xadd git chec�� fd5c-dirty ache/go/1.25.0/x--registry(http block)/usr/bin/gh gh api user --jq .login 11d628d41d032a28 ache/go/1.25.0/x--auto f81581896a570993f9037b78f99a510a725/log.json it/ref/tags/v5(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Changeset
COPILOT_CLI_TOKENenvironment variable; documentation and tests updated. Users must migrate toCOPILOT_GITHUB_TOKEN.