From 293063a7be49e3b7b828824339d6adf499aabd2a Mon Sep 17 00:00:00 2001 From: Joscha <34318751+josxha@users.noreply.github.com> Date: Tue, 6 Feb 2024 15:51:55 +0100 Subject: [PATCH] Update on-comment-remove-label.yml --- .github/workflows/on-comment-remove-label.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/on-comment-remove-label.yml b/.github/workflows/on-comment-remove-label.yml index 986837732..37c70f03c 100644 --- a/.github/workflows/on-comment-remove-label.yml +++ b/.github/workflows/on-comment-remove-label.yml @@ -15,9 +15,9 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | - await github.issues.removeLabel({ + await github.rest.issues.removeLabel({ owner: context.repo.owner, repo: context.repo.repo, - issue_number: context.payload.issue.number, + issue_number: context.issue.number, name: ["waiting for user response"] - }); \ No newline at end of file + });