From ebabcf2c2b9ffef2d9ebc94d5f2ac635f5394818 Mon Sep 17 00:00:00 2001 From: Maurizio Vitale Date: Wed, 15 Mar 2023 20:22:45 +0100 Subject: [PATCH] attempt with rest (#8381) --- .github/workflows/package_dispatch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package_dispatch.yml b/.github/workflows/package_dispatch.yml index ed94db529b..f421b1fd5b 100644 --- a/.github/workflows/package_dispatch.yml +++ b/.github/workflows/package_dispatch.yml @@ -15,10 +15,10 @@ jobs: script: | const payload = { package_name: "${{ github.event.registry_package.name }}", - package_version: "${{ github.event.registry_package.package_version.name }}"" + package_version: "${{ github.event.registry_package.package_version.name }}" }; - await github.repos.createDispatchEvent({ + await github.rest.repos.createDispatchEvent({ owner: context.repo.owner, repo: "alfresco-apps", event_type: "package-published",