From bc32c6c081268897fa1340d93a1a88d36898c1fe Mon Sep 17 00:00:00 2001 From: Bryan Oliver Date: Thu, 11 Aug 2022 12:42:41 -0400 Subject: [PATCH] org_token --- dist/index.js | 2 +- lib/helpers.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 0a0431c..b26d5ed 100644 --- a/dist/index.js +++ b/dist/index.js @@ -6,7 +6,7 @@ const {Octokit} = __nccwpck_require__(7467) const core = __nccwpck_require__(2186); -const octokit = new Octokit({auth: process.env.GITHUB_TOKEN }); +const octokit = new Octokit({auth: process.env.ORG_TOKEN }); function uniq(a) { return [...new Set(a)]; diff --git a/lib/helpers.js b/lib/helpers.js index 44967be..1f3f71b 100644 --- a/lib/helpers.js +++ b/lib/helpers.js @@ -1,6 +1,6 @@ const {Octokit} = require('octokit') const core = require('@actions/core'); -const octokit = new Octokit({auth: process.env.GITHUB_TOKEN }); +const octokit = new Octokit({auth: process.env.ORG_TOKEN }); function uniq(a) { return [...new Set(a)];