From 306de053005cd3766dca22c6f9c5d181edabf1e0 Mon Sep 17 00:00:00 2001 From: Bastien Robert Date: Fri, 5 Feb 2021 21:26:05 +0100 Subject: [PATCH] feat: pass githubToken as GITHUB_TOKEN for semanticRelease --- dist/index.js | 1 + src/index.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/index.js b/dist/index.js index 43f3db4..5fb9267 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7059,6 +7059,7 @@ async function npmConfigRegistry(registryUrl, token) { ...process.env, NPM_CONFIG_REGISTRY: `https://npm.pkg.github.com`, NPM_TOKEN: githubToken, + GITHUB_TOKEN: githubToken }); core.info('Release available on GitHub'); publishToGithub && core.info('Package available on GitHub registry'); diff --git a/src/index.ts b/src/index.ts index 28a3836..602248c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -105,6 +105,7 @@ import { npmConfigRegistry } from './config' ...process.env, NPM_CONFIG_REGISTRY: `https://npm.pkg.github.com`, NPM_TOKEN: githubToken, + GITHUB_TOKEN: githubToken }) core.info(