mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-21 16:10:19 +01:00
2132c54abc
Fixes the workflow failure where `gh auth login --with-token` fails because `GH_TOKEN` is already set in the environment. The error was: ``` The value of the GH_TOKEN environment variable is being used for authentication. To have GitHub CLI store credentials instead, first clear the value from the environment. ``` The fix uses a subshell to unset `GH_TOKEN` before calling `gh auth login`: ```bash echo "$GH_TOKEN" | (unset GH_TOKEN && gh auth login --with-token) ``` Release Notes: - N/A