update action script methods (#5062)
[platform/core/csapi/tizenfx.git] / .github / workflows / check-api-level.yml
index 33c1565..a0c52f6 100644 (file)
@@ -26,7 +26,7 @@ jobs:
       with:
         script: |
           var metadata = JSON.parse(process.env.BRANCH_METADATA)
-          github.issues.addLabels({
+          github.rest.issues.addLabels({
             issue_number: context.issue.number,
             owner: context.repo.owner,
             repo: context.repo.repo,