mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-28 17:54:14 +00:00
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 |
||
|---|---|---|
| .. | ||
| actions | ||
| DISCUSSION_TEMPLATE | ||
| ISSUE_TEMPLATE | ||
| workflows | ||
| actionlint.yml | ||
| cherry-pick-bot.yml | ||
| CODEOWNERS | ||
| FUNDING.yml | ||
| pull_request_template.md | ||