From 619b7087f6f0ef9e98ccd86ca0c8f46bac8a2a93 Mon Sep 17 00:00:00 2001 From: Theodore Dubois Date: Sat, 26 Jun 2021 18:46:36 -0700 Subject: [PATCH] Hopefully fix the autolabel script --- .github/workflows/autolabel.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/autolabel.yml b/.github/workflows/autolabel.yml index 6c4af4a0ab..7da8f3dd91 100644 --- a/.github/workflows/autolabel.yml +++ b/.github/workflows/autolabel.yml @@ -15,4 +15,4 @@ jobs: const github = require('@actions/github'); const octokit = github.getOctokit(process.env.GITHUB_TOKEN); const {repo, owner, number} = github.context.issue; - await octokit.issues.addLabels({repo, owner, issue_number: number, labels: ['unconfirmed']}); + await octokit.rest.issues.addLabels({repo, owner, issue_number: number, labels: ['unconfirmed']});