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 {