From e0bb83ac6a8674cc4b1f7c2eaa05d50a691a9ba9 Mon Sep 17 00:00:00 2001 From: sangeet-joy_xero Date: Mon, 23 Sep 2024 13:03:02 +0530 Subject: [PATCH] corrected the dispatch call syntax --- .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 a82e55dd4..f3fd77b4b 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -62,7 +62,7 @@ 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/pr.yml/dispatches \ - -d '{"ref":"PETOSS-536-enabling-workflow-dispatch","inputs":{"branch_name": "${{github.head_ref}}", "dispatch_id": "$dispatchId"}}' + -d '{"ref":"PETOSS-536-enabling-workflow-dispatch","inputs":{"branch_name": "${{github.head_ref}}", "dispatch_id": $dispatchId}}' # - name: Get workflow run ID # id: get-run-id