From d310f6a68ec3bc8340b0e572d2318610dc504acf Mon Sep 17 00:00:00 2001 From: v-amolpatil Date: Fri, 8 Sep 2023 14:30:42 +0530 Subject: [PATCH] removed command ping --- .azure-pipelines/callGithubWorkflow.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.azure-pipelines/callGithubWorkflow.yaml b/.azure-pipelines/callGithubWorkflow.yaml index 210e0da2949..75f957cb716 100644 --- a/.azure-pipelines/callGithubWorkflow.yaml +++ b/.azure-pipelines/callGithubWorkflow.yaml @@ -71,7 +71,6 @@ jobs: $token = $githubToken | ConvertTo-SecureString -AsPlainText -Force $pullRequestNumberInt = [int]$pullRequestNumber $client_payload = @{ - "command" = "ping" "pullRequestBranchName" = "$branchName" "pullRequestNumber" = $pullRequestNumberInt } @@ -86,7 +85,7 @@ jobs: $Parameters = @{ Method = "POST" Uri = "https://api.github.com/repos/Azure/Azure-Sentinel/dispatches" - Headers = $Header + Headers = $header ContentType = "application/json" Body = $jsonBody Authentication = "Bearer"