diff --git a/.github/workflows/pr-file-check.yml b/.github/workflows/pr-file-check.yml index dc64e9913343..09c4a22ac283 100644 --- a/.github/workflows/pr-file-check.yml +++ b/.github/workflows/pr-file-check.yml @@ -19,7 +19,7 @@ jobs: uses: actions/github-script@v6 with: script: | - github.issues.addLabels({ + github.rest.issues.addLabels({ owner: context.repo.owner, repo: context.repo.repo, issue_number: context.issue.number,