From 946ae7524717684dc50fe6d7d84833f58298a99c Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Sun, 21 Nov 2021 14:58:43 +0100 Subject: [PATCH] ci: fix github script Signed-off-by: Mark Sagi-Kazar --- .github/workflows/feedback_issue.yml | 2 +- .github/workflows/feedback_pull_request.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/feedback_issue.yml b/.github/workflows/feedback_issue.yml index 20b5ff9..87453cf 100644 --- a/.github/workflows/feedback_issue.yml +++ b/.github/workflows/feedback_issue.yml @@ -10,7 +10,7 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - github.issues.createComment({ + github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, diff --git a/.github/workflows/feedback_pull_request.yml b/.github/workflows/feedback_pull_request.yml index 275b875..d3e5d22 100644 --- a/.github/workflows/feedback_pull_request.yml +++ b/.github/workflows/feedback_pull_request.yml @@ -10,7 +10,7 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - github.issues.createComment({ + github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo,