mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 15:10:34 +01:00
045b740090
Fixes two issues in the documentation suggestions workflow: 1. **Shell quoting bug**: PR titles containing quotes (e.g., `agent_ui: Add the ability to undo "reject all"`) were breaking the shell script because the title was substituted directly into the script. Moved `PR_TITLE`, `PR_NUM`, and `OUTPUT_FILE` to environment variables where special characters are handled safely. 2. **GH CLI auth issue**: The `gh` CLI sometimes fails to auto-detect `GH_TOKEN` in the environment, causing `gh pr view` and `gh pr diff` to fail with "Bad credentials". Added explicit `gh auth login --with-token` in both the batch-suggestions and cherry-pick-suggestions jobs. Release Notes: - N/A