Skip to content

Commit ce6f8b0

Browse files
chore(ci): fix octokit variable to process.env.GITHUB_TOKEN (#521)
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]>
1 parent d5c571c commit ce6f8b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/scripts/fetch_prs.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const owner = 'deckhouse';
2121
const repo = 'virtualization';
2222
const project = ':dvp: DVP';
2323
const defaultLogin = '@anton.nikonov';
24-
const octokit = new Octokit({ auth: process.env.RELEASE_PLEASE_TOKEN });
24+
const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN });
2525
const recentDays = 2;
2626
const approvalsRequired = 1
2727

.github/workflows/dev_prs-summary.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929

3030
steps:
3131
- name: Checkout repository
32-
uses: actions/checkout@v2
32+
uses: actions/checkout@v4
3333

3434
- name: Setup Node.js
35-
uses: actions/setup-node@v2
35+
uses: actions/setup-node@v4
3636
with:
37-
node-version: "18" # Use Node.js 18
37+
node-version: "20" # Use Node.js 20
3838

3939
- name: Install dependencies
4040
run: npm install -S .github/scripts

0 commit comments

Comments
 (0)