From 4f931c2d9dcb35e297ea8db078c69a403ae2a256 Mon Sep 17 00:00:00 2001 From: Sarah Fortune Date: Mon, 29 Sep 2025 00:50:46 +0000 Subject: [PATCH] Handle quotes and other special chars in the curl request (#6525) This workflow didn't work if the PR title contained quotes, e.g. https://github.com/cline/cline/pull/6523 - Don't show VS Code LM provider on non-VSCode platforms --- .github/workflows/trigger-jetbrains-tests.yml | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/trigger-jetbrains-tests.yml b/.github/workflows/trigger-jetbrains-tests.yml index f76de65f90..cd743322a1 100644 --- a/.github/workflows/trigger-jetbrains-tests.yml +++ b/.github/workflows/trigger-jetbrains-tests.yml @@ -30,17 +30,19 @@ jobs: -H "User-Agent: cline-pr-trigger" \ -H "Content-Type: application/json" \ https://api.github.com/repos/cline/intellij-plugin/dispatches \ - -d '{ - "event_type": "cline-pr-check", - "client_payload": { - "pr_number": "${{ github.event.number }}", - "branch_name": "${{ github.head_ref }}", - "action": "${{ github.event.action }}", - "sha": "${{ github.event.pull_request.head.sha }}", - "pr_title": "${{ github.event.pull_request.title }}", - "pr_url": "${{ github.event.pull_request.html_url }}" - } - }' + -d @- <