diff --git a/.github/cla-signatures.json b/.github/cla-signatures.json index e13f3a3aebf256a58c808d7f8c1932e1b08c53b7..9fd0e1b175feaffd9f136d51cdca2115a5a4b86d 100644 --- a/.github/cla-signatures.json +++ b/.github/cla-signatures.json @@ -183,6 +183,22 @@ "created_at": "2025-08-01T22:18:28Z", "repoId": 987670088, "pullRequestNo": 480 + }, + { + "name": "yumosx", + "id": 141902143, + "comment_id": 3146472558, + "created_at": "2025-08-02T12:24:29Z", + "repoId": 987670088, + "pullRequestNo": 504 + }, + { + "name": "bold84", + "id": 21118257, + "comment_id": 3146962342, + "created_at": "2025-08-03T04:07:16Z", + "repoId": 987670088, + "pullRequestNo": 519 } ] } \ No newline at end of file diff --git a/.github/labeler.yml b/.github/labeler.yml index d3e045e3186f47bf19927f9b80f989e6a3b9aa92..73f970bf83e449f153a2834cc0a7120654c42f26 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,3 +1,5 @@ +"area: ci": + - "/^ci: /i" "area: diff": - "/diff/i" "area: images": @@ -40,3 +42,5 @@ - "/(openai|gpt)/i" "provider: openrouter": - "/openrouter/i" +"provider: qwen": + - "/qwen/i" diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 7ad15e5687676ba4ac0377f445164afd77a132ab..5ac53b3b4f30fe22450b58aafd1aa99becea6f45 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -29,7 +29,7 @@ jobs: path-to-signatures: ".github/cla-signatures.json" path-to-document: "https://github.com/charmbracelet/crush/blob/main/CLA.md" branch: "main" - allowlist: dependabot[bot] + allowlist: charmcli,charmcrush,dependabot[bot] custom-pr-sign-comment: "I have read the Contributor License Agreement (CLA) and hereby sign the CLA." custom-notsigned-precomment: "Thank you for your submission. We really appreciate it! Like many open-source projects, we ask that you sign our [Contributor License Agreement](https://github.com/charmbracelet/crush/blob/main/CLA.md) before we can accept your contribution. You can sign the CLA by just posting a Pull Request comment same as the below format." lock-pullrequest-aftermerge: false diff --git a/.github/workflows/issue-labeler.yml b/.github/workflows/issue-labeler.yml index f79293c5877d41e3f9f8764b841eb32c3384a3d6..f0cb041b935dcdec6e63013972b686a66404398b 100644 --- a/.github/workflows/issue-labeler.yml +++ b/.github/workflows/issue-labeler.yml @@ -3,7 +3,7 @@ name: Issue Labeler on: issues: types: [opened] - pull_request: + pull_request_target: types: [opened] workflow_dispatch: inputs: diff --git a/internal/log/http.go b/internal/log/http.go index 1091e5706c09be374e6775f8906c91505e10b33f..2c74bd05201ad9cbd8d60c6e3c3db3f637fb99b3 100644 --- a/internal/log/http.go +++ b/internal/log/http.go @@ -79,6 +79,9 @@ func (h *HTTPRoundTripLogger) RoundTrip(req *http.Request) (*http.Response, erro } func bodyToString(body io.ReadCloser) string { + if body == nil { + return "" + } src, err := io.ReadAll(body) if err != nil { slog.Error("Failed to read body", "error", err)