Justin Baur пре 3 година
родитељ
комит
69cec6c7ee
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      .github/workflows/backport.yml

+ 1 - 1
.github/workflows/backport.yml

@@ -32,7 +32,7 @@ jobs:
       with:
       with:
         script: |
         script: |
           const backport_start_body = `Started backporting to ${{ steps.target-branch-extractor.outputs.result }}: https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${process.env.GITHUB_RUN_ID}`;
           const backport_start_body = `Started backporting to ${{ steps.target-branch-extractor.outputs.result }}: https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${process.env.GITHUB_RUN_ID}`;
-          await github.issues.createComment({
+          await github.rest.issues.createComment({
             issue_number: context.issue.number,
             issue_number: context.issue.number,
             owner: context.repo.owner,
             owner: context.repo.owner,
             repo: context.repo.repo,
             repo: context.repo.repo,