From dba10f4fbdb9c912e45449f58e35f19adf3a613d Mon Sep 17 00:00:00 2001 From: sangeet-joy_xero Date: Fri, 20 Sep 2024 14:11:52 +0530 Subject: [PATCH] syntax corrected of the json payload for curl --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ed71adde0..dcac6da5b 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -61,4 +61,4 @@ jobs: -H "Accept: application/vnd.github.everest-preview+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/xero-internal/xeroapi-sdk-codegen/actions/workflows/codegen-node-pr.yml/dispatches \ - -d '{"ref":"PETOSS-536-enabling-workflow-dispatch","inputs":{"branch_name": ${{github.head_ref}}}}' \ No newline at end of file + -d '{"ref":"PETOSS-536-enabling-workflow-dispatch","inputs":{"branch_name": "${{github.head_ref}}"}}' \ No newline at end of file