From be0a21d43fe70e9975745bbdc64bb1940d791f99 Mon Sep 17 00:00:00 2001 From: Adam Rensel Date: Mon, 3 May 2021 13:39:04 -0400 Subject: [PATCH] GH_SECRET --- .github/workflows/main.yml | 3 --- .github/workflows/src/index.js | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 240ed28a..d2572f34 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,9 +26,6 @@ jobs: node-version: 14 - run: npm install -g npm - run: npm install - - run: pwd - - run: ls - - run: ls ./node_modules - name: run entry point run: node index.js env: diff --git a/.github/workflows/src/index.js b/.github/workflows/src/index.js index cc8612fe..fe6cbca8 100644 --- a/.github/workflows/src/index.js +++ b/.github/workflows/src/index.js @@ -37,7 +37,7 @@ if (process.env.GITHUB_EVENT_NAME === "pull_request") { } // Create a personal access token at https://github.com/settings/tokens/new?scopes=repo -const octokit = new Octokit({ auth: process.env.GITHUB_SECRET }); +const octokit = new Octokit({ auth: process.env.GH_SECRET }); // Compare: https://docs.github.com/en/rest/reference/users#get-the-authenticated-user // const { -- knotmirror 0.0.1