diff --git a/actions/request-review/dist/index.js b/actions/request-review/dist/index.js index ea94921..4ba43a2 100644 --- a/actions/request-review/dist/index.js +++ b/actions/request-review/dist/index.js @@ -31820,7 +31820,7 @@ async function run() { const labels = ['devops', 'demo']; - await github.rest.issues.addLabels({ + await octokit.rest.issues.addLabels({ ...github.context.repo, labels: labels }); diff --git a/actions/request-review/index.js b/actions/request-review/index.js index e7e8d59..1d8553d 100644 --- a/actions/request-review/index.js +++ b/actions/request-review/index.js @@ -7,7 +7,7 @@ async function run() { const labels = ['devops', 'demo']; - await github.rest.issues.addLabels({ + await octokit.rest.issues.addLabels({ ...github.context.repo, labels: labels });