From 7722d67e17c6eb813232ff7c17afe0bc65ecb60f Mon Sep 17 00:00:00 2001 From: Philipp Strube Date: Sun, 10 Sep 2023 17:13:54 +0200 Subject: [PATCH] Fix actions script --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1b93cd30..bf9112a4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -134,13 +134,13 @@ jobs: github.rest.git.createRef({ owner: context.repo.owner, repo: context.repo.repo, - tag, - context.sha, + ref: tag, + sha: context.sha, }); - octokit.rest.actions.createWorkflowDispatch({ + github.rest.actions.createWorkflowDispatch({ owner: context.repo.owner, repo: context.repo.repo, - 'promote.yml', - tag, + workflow_id: "promote.yml", + ref: tag, });