From 2d7e209e1ca83e64e7c217efb46bc7e16a6f15fa Mon Sep 17 00:00:00 2001 From: Jaye Hernandez Date: Tue, 18 Aug 2020 19:38:20 +0800 Subject: [PATCH] Update response to updated API of @actions/github --- responses/14_js-files-activity.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/responses/14_js-files-activity.md b/responses/14_js-files-activity.md index e555864..d6c99a6 100644 --- a/responses/14_js-files-activity.md +++ b/responses/14_js-files-activity.md @@ -33,7 +33,7 @@ async function run() { const jokeBody = core.getInput("joke"); const token = core.getInput("repo-token"); - const octokit = new github.GitHub(token); + const octokit = github.getOctokit(token); const newIssue = await octokit.issues.create({ repo: github.context.repo.repo, pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy