From c42cab6887aff0330a99e1aa5a8261bc7f55b5d8 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Wed, 9 Feb 2022 10:53:05 +0100 Subject: [PATCH] workflows: fix breaking v5 change in github-script Signed-off-by: Patrik Oldsberg --- .github/workflows/sync_release-manifest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync_release-manifest.yml b/.github/workflows/sync_release-manifest.yml index 24ff79b0b0..b02af02f9d 100644 --- a/.github/workflows/sync_release-manifest.yml +++ b/.github/workflows/sync_release-manifest.yml @@ -56,7 +56,7 @@ jobs: # TODO(Rugvip): Remove the create-app dispatch once we've been on the release version for a while script: | console.log('Dispatching upgrade helper sync - release version'); - await github.actions.createWorkflowDispatch({ + await github.rest.actions.createWorkflowDispatch({ owner: 'backstage', repo: 'upgrade-helper-diff', workflow_id: 'release.yml', @@ -67,7 +67,7 @@ jobs: }); console.log('Dispatching upgrade helper sync - create-app version'); - await github.actions.createWorkflowDispatch({ + await github.rest.actions.createWorkflowDispatch({ owner: 'backstage', repo: 'upgrade-helper-diff', workflow_id: 'release.yml',