diff --git a/.github/workflows/run_test_cases.yml b/.github/workflows/run_test_cases.yml index 315e165ee4e..cef82a57958 100644 --- a/.github/workflows/run_test_cases.yml +++ b/.github/workflows/run_test_cases.yml @@ -38,7 +38,11 @@ jobs: details: ${{ steps.pr_details.outputs.data }} last_update_date: ${{ github.event.comment.created_at || github.event.pull_request.updated_at }} run: | - $pull_request = ConvertFrom-Json -InputObject "${{ env.details }}" + # Convert the JSON string to a PowerShell object + $pull_request = $env:details | ConvertFrom-Json + #$pull_request = ConvertFrom-Json -InputObject "${{ env.details }}" + + # Extract data from the JSON object $pr_html_url = $pull_request.html_url $pr_author = $pull_request.user.login $pr_head_ref = $pull_request.head.ref