From 30e9739d8bc7f80f8b41e4e2f9aec7152ee6a18a Mon Sep 17 00:00:00 2001 From: eleanorjboyd Date: Tue, 17 Dec 2024 09:10:29 -0800 Subject: [PATCH] update method --- .github/workflows/pr-file-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,