From 437eef0dcc4ae7fcb835e8c963d657c4e7cf2f69 Mon Sep 17 00:00:00 2001 From: Julien Dargelos Date: Mon, 13 Dec 2021 16:45:10 +0100 Subject: [PATCH] fix: always pass gitHub token to semantic-release --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 602248c..dbd41ac 100644 --- a/src/index.ts +++ b/src/index.ts @@ -123,7 +123,8 @@ import { npmConfigRegistry } from './config' await release(cliPath, false, publishToNPM, { ...process.env, NPM_CONFIG_REGISTRY: 'https://registry.npmjs.org', - NPM_TOKEN: npmToken + NPM_TOKEN: npmToken, + GITHUB_TOKEN: githubToken }) publishToNPM && core.info(