From 053335ba5ec6f5598e1997a502c9efe799425cbc Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Fri, 15 Oct 2021 00:21:00 +0200 Subject: [PATCH] Fix GitHub workflow not closing Minecraft issues --- .github/workflows/minecraft-crash.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/minecraft-crash.yml b/.github/workflows/minecraft-crash.yml index 2a8a451..a13de00 100644 --- a/.github/workflows/minecraft-crash.yml +++ b/.github/workflows/minecraft-crash.yml @@ -129,10 +129,10 @@ jobs: }) // We will close any Minecraft-related issue automatically. - github.rest.issues.update({ + github.issues.update({ owner: owner, repo: repo, - issue_number: inputs.issueNumber, + issue_number: issueNumber, state: 'closed' }) }