Skip to content

Commit

Permalink
chore(ci): fix octokit variable to process.env.GITHUB_TOKEN (#521)
Browse files Browse the repository at this point in the history
chore(ci): fix octokit to process.env.GITHUB_TOKEN
Due to an incorrectly specified token, github api limits were exhausted
-------
Signed-off-by: Nikita Korolev <[email protected]>
  • Loading branch information
universal-itengineer authored Nov 14, 2024
1 parent d5c571c commit ce6f8b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/fetch_prs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const owner = 'deckhouse';
const repo = 'virtualization';
const project = ':dvp: DVP';
const defaultLogin = '@anton.nikonov';
const octokit = new Octokit({ auth: process.env.RELEASE_PLEASE_TOKEN });
const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN });
const recentDays = 2;
const approvalsRequired = 1

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dev_prs-summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "18" # Use Node.js 18
node-version: "20" # Use Node.js 20

- name: Install dependencies
run: npm install -S .github/scripts
Expand Down

0 comments on commit ce6f8b0

Please sign in to comment.